ReverendJ1 Posted August 25, 2006 Posted August 25, 2006 Does anyone know of a way to disable menu items? ie if your clipboard is empty, paste will be disabled in the edit menu. I know how to just not make them show up, but I just think it would be nice to have certain menu items disabled sometimes. thank you
Paulie Posted August 25, 2006 Posted August 25, 2006 (edited) Does anyone know of a way to disable menu items? ie if your clipboard is empty, paste will be disabled in the edit menu. I know how to just not make them show up, but I just think it would be nice to have certain menu items disabled sometimes. thank youGuiCtrlSetState(*Item*, $GUI_DISABLE) I think something like that Edit: Made myself look better Edited August 25, 2006 by Paulie
Holger Posted August 25, 2006 Posted August 25, 2006 GUICtrlSetState($menuItem, $GUI_DISABLE) Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
ReverendJ1 Posted August 25, 2006 Author Posted August 25, 2006 I don't know what is wrong with me, I swear I tried that before. Maybe there was something wrong with my code to determine if it should be disabled or not. Anyway, it works fine now. Thanks Holger and Paulie. BTW Paulie, that would knock out the whole window.
Paulie Posted August 25, 2006 Posted August 25, 2006 I don't know what is wrong with me, I swear I tried that before. Maybe there was something wrong with my code to determine if it should be disabled or not. Anyway, it works fine now. Thanks Holger and Paulie. BTW Paulie, that would knock out the whole window. What are you talking about I have the same thing a Holger Pay no attention to the edit
GaryFrost Posted August 25, 2006 Posted August 25, 2006 What are you talking about I have the same thing a Holger Pay no attention to the edit you haveGuiSetStateand Holger hasGUICtrlSetState SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Paulie Posted August 25, 2006 Posted August 25, 2006 you haveGuiSetStateand Holger hasGUICtrlSetStateNo i don't
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