Qualify Event for Pushbutton (OpenInsight 32-Bit)
At 02 DEC 2005 10:56:47AM Pascal Landry wrote:
Is there a way to make a pushbutton use the left and right click of a mouse?
Could send left click to one event and the right to a different.
Or event to have the ShiftKey, CtrlKey, AtlKey be seen in the Click event of a pushbutton?
Thanks,
Pascal
At 02 DEC 2005 11:13AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Pascal,
You'll probably need to use WINMSG track the WM_RBUTTONDOWN and WM_RBUTTONUP messages - these should also give you flags to tell you if the Ctrl and Shift keys were depressed…
Also check out the GetAsyncKeyState() Windows API function.
World leaders in all things RevSoft
At 02 DEC 2005 01:14PM Pascal Landry wrote:
GetAsynckeystate works for me!
THanks!