this-is-me Posted September 24, 2004 Posted September 24, 2004 (edited) It seems that if the $GUI_HIDE or $GUI_DISABLE is applied to a top-level menu EDIT: or just $GUI_HIDE on any menu item, it does not work. Is there any way to disable the top level menu sometimes and hide the menu altogether at others? Another question, could someone look into adding support to the gui to allow a menu to be called by the script? Something like this is what I want: $filemenu = GUICtrlCreateMenu ("&File") $fileitem = GUICtrlCreateMenuitem ("Open", $filemenu) GUIShowMenu($filemenu, x, y) This way, a menu could be popped up from a button in custom places, or a menu could be called without a showing gui [maybe from hotkey]. EDIT: Can there be a GUIDeleteMenuItem as well? I sometimes need to remove a menuitem from a menu completely. I also need to temporarily hide a menuitem from a top menu using $GUI_HIDE without deleting it. Edited September 24, 2004 by this-is-me Who else would I be?
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