![]() |
if abfrage bei mouse_event??
hi,
ich will per eine if befehl abfragen ob die rechte maustaste gedrückt ist aber das klapt irgendwie nicht :-( hab schon versucht mit:
Delphi-Quellcode:
geht aber nicht, kann mir da jemand irgendwie helfen??
if mouse_event (mouseeventf_rightdown,0,0,0,0) then
begin irgendwas end; |
Re: if abfrage bei mouse_event??
Delphi-Quellcode:
procedure TForm1.Timer1Timer(Sender: TObject);
begin Caption := ''; if (GetKeyState(VK_LBUTTON) < 0) then Caption := 'LMT '; if (GetKeyState(VK_MBUTTON) < 0) then Caption := Caption + 'MMT '; if (GetKeyState(VK_RBUTTON) < 0) then Caption := Caption + 'RMT '; end; |
Re: if abfrage bei mouse_event??
Zitat:
mfg wadim |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:01 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz