Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi kein Drag and Drop nach Esc-Tasten Emulation (https://www.delphipraxis.net/40745-kein-drag-drop-nach-esc-tasten-emulation.html)

Gambit 20. Feb 2005 13:50


kein Drag and Drop nach Esc-Tasten Emulation
 
Hallo,

wenn ich folgenden Code ausführe um nach Ablauf einer best. Zeit die Esc-Taste zu emulieren, kann ich kein Drag and Drop mehr machen also zB. Icons auf dem Desktop verschieben geht nicht mehr:

Delphi-Quellcode:
procedure TForm1.Timer1Timer(Sender: TObject);
begin
  keybd_event(VK_ESCAPE, MapVirtualKey(VK_ESCAPE, 0), 0, 0);
  keybd_event(VK_ESCAPE, MapVirtualKey(VK_ESCAPE, 0), VK_ESCAPE, 0);
  Timer1.Interval:=0;
  startTimerBtn.Enabled:= true;
end;
Hat jemand 'ne Ahnung woher das kommt?

Gruß

Gambit

sniper_w 20. Feb 2005 21:40

Re: kein Drag and Drop nach Esc-Tasten Emulation
 
Vielleich hast du gerade noch ein Bug in Win32 endeckt. :lol: :lol: :lol: :mrgreen: :mrgreen:


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:27 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz