[Lazarus] Handle user inputs
xrfang at gmail.com
Mon Jan 21 08:08:27 CET 2013
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus