Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Hiding a command in the solution's context menu but not under the Project top-level menu

$
0
0

Hi,

How can I remove "Add New Item..." from the context-menu but not from the Project top-level menu?

Inside QueryStatus, is it possible to know that we have been called for the context-menu?

In the VC++ project, if you open the context-menu on a C++ file item, the "Add New Item..." is not shown.  However, if you go to Project, you will see that "Add New Item..." is visible.

How can I replicate this functionality?

Thanks in advance,

-Martin


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>