AutoHotkey Community

It is currently May 27th, 2012, 5:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: October 18th, 2005, 8:25 pm 
Offline

Joined: September 25th, 2005, 4:31 pm
Posts: 610
Laszlo wrote:
last script seems to work


Does it or not? Inquiring minds want to know.

Quote:
my version (with right-drag) still does not.


To recognize the right button click every time, it was necessary to supplement the $RButton hotkey with a message handler for WM_RBUTTONDOWN. I noticed that while the hotkey was not triggered, the message was still received. The only limitation of this method, is that it is limited to AHk GUI windows in order to receive the message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2005, 8:38 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
I only tested your last script for a few minutes, and encountered no problems. If it works every time everywhere, I don't know. My OnMessage workaround solves the original problem, so I don't need another workaround. It was nice if custom menus would work in edit boxes without these tricks, though, but it seems to be interesting only for me, so don't bother too much.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2005, 12:51 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Laszlo wrote:
Chris wrote:
An Edit control's context menu takes precedence by design (and this is documented).
I realized that. This is why my post is not in Bug Reports, but a wish: could it be changed?
I seem to remember that there's no easy way to change it so that it works properly with both right-click and AppsKey. However, I'll make sure that providing such an option is on the to-do list. Thanks.

Also, the following change related to this topic will be in the next update:
Fixed the title bars of script-owned windows to respond correctly to left and right clicks generated by the script itself. [thanks Shimanov]


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group