When I right-click in my class library, I get some quick options to create things, like an Item from the popup list (New Item...), a User Control, etc. E.g.
alt text http://img44.imageshack.us/img44/6527/clipboard02vw.jpg
Now in my web app project, I'd like to be able to get the User Control listed in the right-click menu just like Component and Class, so I don't have to click New Item... then choose it from there.
alt text http://img268.imageshack.us/img268/2563/clipboard01jo.jpg
Is there a way to do this in the configuration? I can't seem to figure it out in VS.
A context menu is a pop-up menu that provides shortcuts for actions the software developer anticipates the user might want to take. In a Windows environment, the context menu is accessed with a right mouse click.
Press the "Win + R" keys to open the Run dialog. Type 'regedit' and click "Ok" and then approve the changes by clicking "Yes" on the UAC prompt that follows. Navigate to "HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers" and click the arrow to expand.
The context menu (right-hand mouse button or SHIFT+F10 ) allows you to display a context-sensitive menu. The context is defined by the position of the mouse pointer when the user requests the menu. A context menu allows the user to choose functions that are relevant to the current context.
Tools -> Customize -> Check "Context Menus" -> Project and Solution Context Menus
It should be one of those menus
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With