Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO : Add property sheet support to the root folder of a namespace extension

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



Joined: 18 Jul 2005
Posts: 731

Posted: Wed Oct 10, 2007 11:29 am    Post subject: HOWTO : Add property sheet support 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 EZShellExtensionsMFC to develop a property sheet extension and target the context menu extension towards the root folder of your namespace extension by using the GetExtensionTargetInfo method as follows :

void CMyRootPropertySheetExtension::GetExtensionTargetInfo(CExtensionTargetInfo& info)
{
info.AddRegistryKeyTarget(HKEY_CLASSES_ROOT,_T("CLSID\\{guid of NamespaceExtension}"));
}


Notes

1. The attributes of the root folder of the namespace extension must include the NSEIA_HasPropSheet attribute. The attributes are specified in the GetExtensionTargetInfo method.

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

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group