Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Mon Nov 06, 2006 8:46 am Post subject: HOWTO : Develop a context menu extension/thumbnail extension/property sheet extension to target all files |
|
|
The TargetExtension attribute applied to your extension class determines which files the extension will target. To target all kinds of files (*.*), apply the TargetExtension attribute as follows :
TargetExtension(SpecialProgIDTargets.AllFiles,false)
Here, the const SpecialProgIDTargets.AllFiles is used whose value is "*".
The SpecialProgIDTargets class also defines many other special ProgIDs to target special groups of items such as all drives, all folders, etc. |
|