Jump to content
Sign in to follow this  
ReverendJ1

Disable Menu Items

Recommended Posts

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

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...