Page 1 of 1

Processing Ctrl-click

Posted: Fri Mar 10, 2006 8:45 am
by Rafael Clemente
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

Re: Processing Ctrl-click

Posted: Fri Mar 10, 2006 8:55 am
by Enrico Maria Giordano
GetKeyState( VK_CONTROL )
GetKeyState( VK_MENU )

EMG

Posted: Fri Mar 10, 2006 9:22 am
by Rafael Clemente
Thanks a lot, Enrico
Rafael