Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Problem mit Application.OnMessage und der Alt-Taste (https://www.delphipraxis.net/39996-problem-mit-application-onmessage-und-der-alt-taste.html)

Varan 9. Feb 2005 22:21


Problem mit Application.OnMessage und der Alt-Taste
 
moin :)

ich versuch, mit Hilfe von Application.OnMessage die Tastatureingaben abzufangen.
Das funktioniert schon ganz gut, allerdings wird seltsamerweise wenn ich die Alt-Taste drück oder eine andere Taste drück während die Alt-Taste gedrückt ist kein WM_KEYDOWN gesendet.
Was hab ich übersehn, bzw. kann ich machen dass ich das da auch bekomm?

danke schonmal für tips :)

Varan

Sprint 9. Feb 2005 23:03

Re: Problem mit Application.OnMessage und der Alt-Taste
 
Warum benutzt du nicht die OnKey... Events der Form?

Varan 10. Feb 2005 11:21

Re: Problem mit Application.OnMessage und der Alt-Taste
 
weil da Tab nicht ankommt, das schluckt die Form...

Lösung: mit Alt isses WM_SYSKEYDOWN statt WM_KEYDOWN

Varan


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:50 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