Hi again Christian...
I'm not sure if I understood well your idea, but will assigning the nil
character value to the key on KeyDown or KeyPress event will solve your
problem?
Key := Char(0) or Key := 0???
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of Christian Labrie
Sent: Wednesday, November 02, 2005 7:40 PM
To: [email protected]
Subject: [delphi-en] How to prevent a FORM from ever receiving keydown
messages
Hello, I'm working on a virtual onscreen keyboard.
When a key is hited, I can't post the key direcly to the component handle
cause depending on the key, sometimes, the forms or others VCL on the forms
must capture the key to perform some code.
But if I post the message to the application.handle, the problem is that the
message will be dispatched to the keyboard form instead of the component
where the key is supposed to go.
So my question is, when I'm simulating a keyboard pressing, I'd like to know
where I should post it to make sure that it reaches the component whitout
going to the keyboard form, BUT whitout posting it directly to the component
handle.
I other words, having a FORM (onscreen Keyboard) that canot receive focus or
key messages.
Thanks to all.
Christian
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS Basic programming language Computer programming languages
The c programming language
List of programming languages Software programming language Java
programming language
----------------------------------------------------------------------------
----
YAHOO! GROUPS LINKS
a.. Visit your group "delphi-en" on the web.
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
----------------------------------------------------------------------------
----
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/