kwacky1 Posted July 5, 2005 Posted July 5, 2005 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
drak Posted July 5, 2005 Posted July 5, 2005 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)
kwacky1 Posted July 5, 2005 Author Posted July 5, 2005 look at the sample in the helpfile I'm sure it has a what you wantlook 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now