Re: Uxtheme.dll skinning

From: Mick Doherty (EXCHANGE#WITH_at_AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com)
Date: 06/10/04


Date: Thu, 10 Jun 2004 09:54:16 +0100

The Startbutton and Taskbar do not have names associated with them for use
in themeing. If you want to draw those parts then you must extract the
bitmaps from the current themes resource file. You can use
GetCurrentThemeName to get the ColorName of the current theme and then
append that string with "_TASKBARBACKGROUND_BMP" or "_STARTBUTTON_BMP" for
the appropriate bitmaps. GetCurrentThemeName also returns the name of the
resource file to extract the bitmaps from.

-- 
Mick Doherty
http://homepage.ntlworld.com/mdaudi100/alternate/home.html
"Martín Heras" <mheras@fibertel.com.ar> wrote in message
news:uzhff$pTEHA.3664@TK2MSFTNGP12.phx.gbl...
> Hello everybody...
> I am trying to apply some parts of the WinXP skins in panel controls. I am
> using the Uxtheme wrapper which you can download from www.codeproject.com
> and it is good.
> If I want to do what I explained, I have to pass a string to a function
> which makes the drawing. The string refers to the part of the skin.
> I have made this very well, but I can't find what string is the correct to
> draw the StartButton and the task buttons of the Taskbar.
> Please help me with this since I need it too much.
>
> Thank you very much...
>
> Martín Heras
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004