[Lazarus] Handle user inputs
xrfang
xrfang at gmail.com
Mon Jan 21 08:08:27 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130121/6a5de48e/attachment-0002.html>
More information about the Lazarus
mailing list