Hi,

I want to use TApplicationProperties.OnUserInput to process keyboard/mouse 
events.  But the parameter of this method is a Cardinal.   My questions are:

1) How do I know its event type, such as keydown/keyup/keypress or mouse move 
etc?

2) How do I know the actual key that is pressed, or the X, Y coordinates of the 
mouse?

Thanks,
Shannon
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to