Jump to content

Tick next to menu items


Recommended Posts

Hey there,

Is it possible to place a check mark to the left of a currently enabled option on a menu item?

my aim, i have an always on top option for a little gui app i've created, and when you drop down the menu, i'd like it to show a tick if always on top is already on, and remove the tick when always on top is turned off.

I'm sure you know what i mean, SciTE uses it extensively in it's menus as per this screenshot

Link to comment
Share on other sites

look at the sample in the helpfile I'm sure it has a what you want

look at these two lines in the sample

$viewstatusitem = GUICtrlCreateMenuitem ("Statusbar",$viewmenu)

GUICtrlSetState(-1,$GUI_CHECKED)

Link to comment
Share on other sites

look at the sample in the helpfile I'm sure it has a what you want

look at these two lines in the sample

$viewstatusitem = GUICtrlCreateMenuitem ("Statusbar",$viewmenu)

GUICtrlSetState(-1,$GUI_CHECKED)

<{POST_SNAPBACK}>

You guys rock, I knew I'd overlooked something simple.

Thanks for your time.

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...