(Gast)
n/a Beiträge
|
Re: if abfrage bei mouse_event??
23. Apr 2004, 16:01
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;
|
|
Zitat
|