Applying Xp Visual Styles in a DLL using MFC loaded by a seperate Process

Applying Xp Visual Styles in a DLL using MFC loaded by a seperate Process

Post by matthe » Wed, 22 Feb 2006 12:20:00



Hello Fellow Programmers,

I have read the msdn article "Using Windows XP Visual Styles",
http://www.yqcomputer.com/ ,

in an attempt to apply windows xp style
to my tray application. The dialogs that are used by this tray app are
in an dll that is loaded by both a tray application and by Internet
Explorer (seperately). I have been able to apply a manifest to the tray

application and had success using the xp styles when the dll was loaded

by the tray application. However, when the dll is loaded by Internet
Explorer, the dialogs spawned by the dll via Internet Explorer do not
use the xp visual styles. Does anyone know how I need to set up the
manifest file so that i can achieve the xp styles when the dll is
loaded by Internet Explorer?


I am working in the Visual Studio .Net 2003 platform with the latest
Platform SDK loaded.
The DLL is a MFC statically linked DLL.


Any help would be greatly appreciated