Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Display a namespace extension in a File Open/Save dialog

 
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: Thu Dec 06, 2007 8:30 am    Post subject: HOWTO: Display a namespace extension in a File Open/Save dialog

To display the contents of a namespace extension in file open/save dialogs, the following must be true :

The attributes of the CNSETargetInfo object returned from the GetNSETargetInfo method of the root CNSEFolder of the namespace extension must include the following attributes : NSEIA_FileSysAncestor and NSEIA_FileSystem.

The attributes returned by the GetAtrributes method of folders in the namespace extension (derived from CNSEFolder) must include the following attributes : NSEIA_FileSysAncestor and NSEIA_FileSystem.

The attributes returned by the GetAtrributes method of non-folders in the namespace extension (derived from CNSEItem) must include the following attributes : NSEIA_FileSystem but not NSEIA_FileSysAncestor .

The GetDisplayNameEx method override of the folder/non-folder items must set displayName as a file system path when the flags parameter includes NSEDNF_ForParsing. This path can be any file system path or even a temp folder/file.

The FileSystemBrowser sample that comes with EZNamespaceExtensionsMFC demonstrates these techniques.
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