kwacky1 Posted July 5, 2005 Share 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 Link to comment Share on other sites More sharing options...
drak Posted July 5, 2005 Share 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) Link to comment Share on other sites More sharing options...
kwacky1 Posted July 5, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
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