Disable Add-in command

J

Johnny J.

It's no problem adding a new command to the Visual Studio (2005) ide using
the commands collection.

But I cannot seem to find any way to disable and reenable the commands
added.

Has anybody got an idea?

Cheers,
Johnny J.
 
J

Johnny J.

Never mind, I solved it. It was actually easier than I had thought.

You simply edit the code in the Connect class' QueryStatus sub to not
include vsCommandStatus.vsCommandStatusEnabled

/Johnny J.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top