Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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.

The Sprezzatura Group

World leaders in all things RevSoft


At 02 DEC 2005 01:14PM Pascal Landry wrote:

GetAsynckeystate works for me!

THanks!

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/178904b8e4d94d61852570cb005798ab.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1