Jump to content
Sign in to follow this  
therms

Button with drop down menu

Recommended Posts

therms

Posted Image

I can't figure out how to access the menu that is displayed by clicking the arrow on the "Set Default" button. Specifically, I want to know which item is enabled and which is disabled. AutoIt window info acts like the menu isn't even there...

Any guidance?

Share this post


Link to post
Share on other sites
Xand3r

search for guictrlcreatecontextmenu... in the helpfile and look at the second example... it's exactly this


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites
therms

search for guictrlcreatecontextmenu... in the helpfile and look at the second example... it's exactly this

Thanks, but I want to access this particular menu and it's values. I don't want to create a menu like it.

For example, in the screenshot, I want to determine that Default Device is checked/disabled on that particular menu.

Unless you've pointed me to the way to do that, and I just don't understand how to use GUICtrlCreateContextMenu to read an existing context menu.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.