Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO : Develop a context menu extension/thumbnail extension/property sheet extension to target all files

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



Joined: 18 Jul 2005
Posts: 731

Posted: Mon Dec 10, 2007 6:08 am    Post subject: HOWTO : Develop a context menu extension/thumbnail extension/property sheet extension to target all files

Override the GetExtensionTargetInfo method in your extension class to determine which files the extension will target. To target all kinds of files (*.*), use the AddFileExtensionTarget method as follows :

info.AddProgIDTarget(SpecialProgIDTargets_AllFiles );

Here, the const SpecialProgIDTargets_AllFiles is used whose value is "*".

The SpecialProgIDTargets_* also defines many other special ProgIDs to target special groups of items such as all drives, all folders, etc.
Back to top
Display posts from previous:   
Forum Index -> EZShellExtensionsMFC All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group