it seems i just found out about it.
and i think that now a days its features are tremendous!
I am no API expert and i search the net for little examples and i found mostly weird C++/C# and in the PB forum i just found how to check if themes are enabled.
Since the new vista come in the game (errr...) i think using this DLL can be huge to make apps.
So i wanted to know in general if:
1. can you can skin your apps with it: buttons,labels,progressbar etc
2. can you distrobute the .DLL to use with other machines: 9x/2000 win
3. can you put the style you make with it in the EXE itself
4. can you put the style+DLL in the exe itself
yeah i know a lot of questions.
but most important for me is how to actually use a custom style on
the gadgets.
thanks for your help!!
UXTHEME.DLL - yes i know!
to 1: the DLL is for skinning windows, not for skinning applications
to 2: the DLL can't work with win9x or w2k
to 3: no
to 4: no
no shure at all, but this is only for skinning windows, or disable/ enable some
features for compatiblity.
to 2: the DLL can't work with win9x or w2k
to 3: no
to 4: no
no shure at all, but this is only for skinning windows, or disable/ enable some
features for compatiblity.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Hi Pantcho!!
i put a piece of code on french forum using GDI+ 1.0 to skin Buttons. It's a mix between GDI+ and XP theme to redraw some of parts of the buttons.
http://www.purebasic.fr/french/viewtopi ... c&start=30
You must use the GDI+ wrapper here or you could download the wrapper from SFSxOI
Because buttons are ownerdrawn, you have to write code when mouse is over or leave button area. My code don't do that but a good way is to use TrackMouseEvent_() API for that.
If you want to skin for example optionButton (ownerdrawn), you have to manage all optionbutton states for the group, the système won't do this when optionbutton are ownerdrawn.

i put a piece of code on french forum using GDI+ 1.0 to skin Buttons. It's a mix between GDI+ and XP theme to redraw some of parts of the buttons.
http://www.purebasic.fr/french/viewtopi ... c&start=30
You must use the GDI+ wrapper here or you could download the wrapper from SFSxOI
Because buttons are ownerdrawn, you have to write code when mouse is over or leave button area. My code don't do that but a good way is to use TrackMouseEvent_() API for that.
If you want to skin for example optionButton (ownerdrawn), you have to manage all optionbutton states for the group, the système won't do this when optionbutton are ownerdrawn.

A+
Denis
Denis

