Jump to content

Insane idea, hopefully cool results. Guictrlcreatecheckbox inside guictrlcreatemenuitem?


TomSmith
 Share

Recommended Posts

Anything is possible, but how difficult would it be to embed guictrlcreatecheckbox inside guictrlcreatemenuitem so that the checkbox shows up next to the label of the menu control? I'm looking for a solution that does not just close out of the menu when you check an item.

It would look something like:

Posted Image

I don't care about the level of difficulty, I welcome the challenge.

What are your ideas?

Link to comment
Share on other sites

You can set a check mark in the menu with GUICtrlSetState( controlID, $GUI_CHECKED ) and clear it with $GUI_UNCHECKED, so if you can live without the square boxes this is an easy solution.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...