Sign in to follow this  
Followers 0
ReverendJ1

Disable Menu Items

7 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 you

GuiCtrlSetState(*Item*, $GUI_DISABLE)

I think something like that

Edit:

Made myself look better

Edited by Paulie

Share this post


Link to post
Share on other sites

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. :P

Share this post


Link to post
Share on other sites

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. :nuke:

:P:nuke:

What are you talking about :):D

I have the same thing a Holger :lol::idea:

:mad::nuke:

Pay no attention to the edit :nuke:

Share this post


Link to post
Share on other sites

:P:nuke:

What are you talking about :):D

I have the same thing a Holger :lol::idea:

:mad::nuke:

Pay no attention to the edit :nuke:

you have

GuiSetState

and Holger has

GUICtrlSetState


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

you have

GuiSetState

and Holger has

GUICtrlSetState

No i don't

:P:nuke:

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