[lazarus] Silly code message handling question

Tony Maro tony at maro.net
Mon Nov 10 13:40:31 EST 2003

I'm handling a:

procedure WMKeyUp(var Message: TLMKeyUp); message LM_KEYUP;

How can I only make use of the keys that I want, and pass the remaining 
on to the parent component(s)?

I just want to grab arrows, without interfering with menu keyboard 

Currently I have the following within the procedure:

if Message.CharCode = VK_UP then begin
   ... do my stuff ...

Which works great for handling the VK_UP, but it's not passing on the 
ones I don't handle.



More information about the Lazarus mailing list