AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Send right click does not work to listview

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
tic



Joined: 22 Apr 2007
Posts: 1272

PostPosted: Wed Apr 09, 2008 9:05 pm    Post subject: Send right click does not work to listview Reply with quote

People are having different results to me, but all dont work. What happens when I attempt to right click on the listview is that my cpu uses 100% and the script momentarily crashes until I click out of the gui. I have tried adding $ to the hotkey, but that does not help. Please do not say "why are you trying to have right click send right click?" as that is unhelpful. This is a simplified problem from a much larger script. Thanks

Code:

Menu, TestContext, Add, TestContext

Gui, 1: Add, ListView, x10 y10 w200 h200 Grid AltSubmit gListSub, Test|ListView
Gui, 1: Show
Return

ListSub:
If (A_GuiEvent = "RightClick")
Menu, TestContext, Show
Return

TestContext:
MsgBox, hello
Return

RButton::
SendInput, {RButton}
Return
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 618
Location: Florida

PostPosted: Wed Apr 09, 2008 10:00 pm    Post subject: Reply with quote

Code:
RButton::
Hotkey, Rbutton, Off
SendInput, {RButton}
Hotkey, Rbutton, On
Return

_________________
Back to top
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1272

PostPosted: Wed Apr 09, 2008 10:53 pm    Post subject: Reply with quote

mine still does the same with that Rhys

and i have no idea why:

Code:
$RButton::
Send, {RButton}
Return


left clicks instead of right click
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group