Tech Support > Microsoft Windows > Development Resources > How to get XP style of widget?
How to get XP style of widget?
Posted by Enrique Cruiz on March 10th, 2007


Hello,

I am writing a dialog box app in with the good old win32 API. It is
working just fine, but it is displaying widgets with the Windows 2000
style, i.e. gray and square. I remember it is possible to enable the XP
style of widgets, which are more curvy, but I do not remember how. Can
somebody enlighten me on how to do that?

Thanks

Enrique

Posted by David Lowndes on March 10th, 2007


Enrique,

You need to add a common control manifest to your application. Have a
look here:

http://msdn.microsoft.com/library/en...x/cookbook.asp

Dave

Posted by Enrique Cruiz on March 15th, 2007


Thanks a lot for the answer. Not as easy as I thought, but I am trying anyway.

In the link you gave me, there are different procedures depending on
the applicaiton type. My app is a Photoshop plug-in. Should I use the
"Using ComCtl32 Version 6 in an Application That Uses Extensions,
Plug-ins, or a DLL That Is Brought into a Process" option or the "Using
ComCtl32 Version 6 in Control Panel or a DLL That Is Run by
RunDll32.exe" ??

THanks again

Enrique


On 2007-03-10 13:11:30 +0000, David Lowndes <DavidL@example.invalid> said:

Dave



Posted by David Lowndes on March 16th, 2007


Enrique,

I think you need the "Using ComCtl32 Version 6 in an Application That
Uses Extensions, Plug-ins, or a DLL That Is Brought into a Process"
option.

Dave


Similar Posts