Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Enable visual styles for a property sheet extension

 
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: Sat Sep 13, 2008 8:18 am    Post subject: HOWTO: Enable visual styles for a property sheet extension

To enable XP visual styles in a property sheet extension, the property sheet extension dll must have an embedded manifest file which specifies that v6.0 of comctl32.dll must be used by the extension dll. VS 2005 and above automatically embed a manifest file in the generated dll file, but the manifest file does not contain a reference to comctl32.dll v6.0. This reference can be added as follows :

Download the manifest fragment file comctl32_v6_fragment.manifest . This contains a reference to comctl32.dll v6.0. Copy this file to the project folder.

In VS 2005 and above, open the Project Properties dialog box. In the 'Configuration Properties' --> 'Manifest Tool' --> 'Input And Output' page, specify 'comctl32_v6_fragment.manifest' in the 'Additional Manifest Files' text box.

Rebuild the project and restart explorer. The next time the extension is loaded, it will use comctl32.dll v6.0.
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