| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Nov 16, 2005 6:03 pm Post subject: Right click on a BitBTN - [Resolved] |
|
|
Is there a way (API?) that I can tell if someone right clicks on a BITBUN...or a normal button?
Thanks _________________ Chris
Http://theblindhouse.com
Last edited by LiquidCode on Wed Nov 16, 2005 6:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Nov 16, 2005 6:38 pm Post subject: |
|
|
Found it.
I can use the following in a timer loop to check if the Right mouse button
is down.
| Code: |
:Timer
loadlib user32.dll
%a = @LIB(USER32,GetAsyncKeyState,INT:,02)
freelib user32.dll
if @unequal(%a,0)
if @equal(@winactive(C),MyWindow)
#info Here
end
end
goto evloop
|
_________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
|