Registriert seit: 18. Apr 2004
637 Beiträge
|
Re: Text in ein Feld eines anderen Fensters einfügen?
30. Jan 2005, 11:27
Hallo,
HotKEy registrieren: RegisterHotKey
Delphi-Quellcode:
Procedure Simulate_CTRL_V;
begin
keybd_event(VK_CONTROL, MapVirtualKey(VK_CONTROL, 0), 0, 0);
keybd_event(Ord('V'), MapVirtualKey(Ord('V'), 0), 0, 0);
keybd_event(Ord('V'), MapVirtualKey(Ord('V'), 0), KEYEVENTF_KEYUP, 0);
keybd_event(VK_CONTROL, MapVirtualKey(VK_CONTROL, 0), KEYEVENTF_KEYUP, 0)
end;
|
|
Zitat
|