Re: DrawThemeBackground Defines--Where???

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jonathan Wood (jwood_at_softcircuits.com)
Date: 11/11/04


Date: Wed, 10 Nov 2004 19:23:47 -0700

You're right--that file defines the styles. I searched that very same file
but it uses macros to define those symbols and the actual symbols do not
appear in the file.

However, it doesn't seem to define the parts (such as PB_BUTTON, etc.). I
don't suppose you know where these are defined do you?

Thanks.

-- 
Jonathan Wood
SoftCircuits
http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Jeff Partch" <jeffp@mvps.org> wrote in message
news:OH4iB84xEHA.1564@TK2MSFTNGP09.phx.gbl...
> "Jonathan Wood" <jwood@softcircuits.com> wrote in message
> news:eV88G34xEHA.1300@TK2MSFTNGP14.phx.gbl...
> > The API function DrawThemeBackground accepts a number of flags that are
> > documented at the following location.
> >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/topics/partsandstates.asp
> >
> > Only one slight detail left out: what are the values for these symbols?
> I've
> > scanned my entire harddrive and they are not defined. I've searched the
> Web
> > and any code I found either just assumes the symbols are defined or
> defines
> > them in the source.
> >
> > Can anyone explain to me what I'm missing here?
>
> They're all declared using macros in TmSchema.h, IIRC.
> -- 
> Jeff Partch [VC++ MVP]
>
>

Quantcast