Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   KeyPressed Problem. (https://www.delphipraxis.net/152620-keypressed-problem.html)

vergessen 29. Jun 2010 18:39

AW: KeyPressed Problem.
 
Keypressed ist ein (ur)alter Hut:

[DP]
Function KeyPressed(Key:Integer):Boolean;
begin
KeyPressed:=(GetAsyncKeyState(Key) and $8000 <> 0);
end;
[/DP]

und funktioniert prima mit sowas:

[DP]
if keypressed(vk_control) then ...
[/DP]

Passwort usw. funktioneren leider nicht mehr seit der Umstellung der DP auf das neue Design (ist mir viel zu hell!).

Die Delphi-Tags habe ich hoffentlich (mit Opera 10.54) erraten :oops: ?

Edith meint: Wohl eher nicht!

s.h.a.r.k 29. Jun 2010 20:21

AW: KeyPressed Problem.
 
ich nehm das gesagte mal bisher zurück...


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:05 Uhr.
Seite 2 von 2     12   

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