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. |
|