c# - Disabling default buttons in word 2003 -


I am currently trying to disable some buttons on the menu bar in word 2k3 but I have no indication of doing so Not that how to do this, which I can find online, it seems that I need to call the "EnableMenuItem" function from user32.dll, but this does not seem to work. Are there any other options available?

Thank you all for your help :)

Gonçalo

You repeat from the specific commandbars (in this case, the edit menu) and the app.commandbars collection to find out And then interact through commands to find specific menu items, then you can hook up the click event, or disable the button (commandbarbutton is a capable asset of objects that you set I can believe that you can set the visual on them too). / P>

Keep in mind that in different languages, the caption can change, so this ID is best for the property key.

How the information about these names and IDs has been obtained here



Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -