forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Right click on a BitBTN - [Resolved]

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Nov 16, 2005 6:03 pm    Post subject: Right click on a BitBTN - [Resolved] Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Nov 16, 2005 6:38 pm    Post subject: Reply with quote

Found it. Smile

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group