Jump to content
Sign in to follow this  
sshrum

How do I...capture secondary mouse clicks on picture control?

Recommended Posts

sshrum

I'm trying to expand on my Vistas project (a multi-monitor wallpapers util for Vista), and would like to capture secondary mouse clicks (typically the right one) on the picture controls to produce a popup menu.

How do I do this?

Additionally, is there a way to assign different popup menus to the different picture controls?

Lets say I have two guis and each one has a picture control on it. I'd like to be able to right click on picture1 and get popupmenu1, picture2=popupmenu2, etc.

TIA


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Share this post


Link to post
Share on other sites
SmOke_N

GUIGetCursorInfo + $GUI_EVENT_SECONDARYDOWN


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×