Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Create a namespace extension rooted at a file system folder.

 
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 Jan 23, 2008 6:28 am    Post subject: HOWTO: Create a namespace extension rooted at a file system folder.

To create a namespace extension rooted at a file system folder, in the overridden GetNSETargetInfo method, set the fileSystemFolder property of CNSETargetInfo to the desired folder path as follows :

[C++]

void CFolderItem::GetNSETargetInfo(CNSETargetInfo& nti)
{
nti.nseTarget=NSET_FileSystemFolder;
nti.name = "MyNamespaceExtension";
nti.attributes = (NSEItemAttributes)(NSEIA_Folder | NSEIA_HasSubFolder | NSEIA_Browsable
| NSEIA_FileSystem | NSEIA_FileSysAncestor);
nti.fileSystemFolder = <<"Folder path here">>;
...
...
...
}
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