Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO : Add custom context menu items to the root folder of a namespace extension

 
Subscribe to the RSS feed for this forum  Forum Index -> EZNamespaceExtensions.Net
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Apr 14, 2007 5:32 am    Post subject: HOWTO : Add custom context menu items to the root folder of a namespace extension

In order to add context menu items to the root folder of a namespace extension you must use EZShellExtensions.Net to develop a context menu extension and target the context menu extension towards the root folder of your namespace extension by using the TargetExtension attribute as follows :

[TargetExtension(RegistryHive.ClassesRoot,"CLSID\\{guid of NamespaceExtension}")]
class MyRootContextMenuExtension : ContextMenuExtension
{
...
...
}

The context menu extension can be present in the same assembly as your namespace extension. You can quickly add a new context menu extension to your project from the 'Project-->Add New Item..' dialog box.
Back to top
Display posts from previous:   
Forum Index -> EZNamespaceExtensions.Net All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group