How can I detect when a Ctrl-click has been pressed?. Or, for that matter, Alt-Click or Shift-click. I imagine that it should be something like:
oWnd:bLClicked := {|| MsgInfo("Clicked!")} but I don't knok how to handle the Ctrl or Alt flags.
Any suggestions? Thanks
Rafael
Processing Ctrl-click
- Rafael Clemente
- Posts: 365
- Joined: Sat Oct 08, 2005 7:59 pm
- Location: Barcelona, Spain
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Processing Ctrl-click
GetKeyState( VK_CONTROL )
GetKeyState( VK_MENU )
EMG
GetKeyState( VK_MENU )
EMG
- Rafael Clemente
- Posts: 365
- Joined: Sat Oct 08, 2005 7:59 pm
- Location: Barcelona, Spain