Sign in to follow this  
Followers 0
kwacky1

Tick next to menu items

3 posts in this topic

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

Share this post


Link to post
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)

Share this post


Link to post
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.

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  
Followers 0