Article View: borland.public.cppbuilder.nativeapi
Article #5266Re: XP Theme Font Color
From: Jonathan Benedicto
Date: Thu, 22 Sep 2005 16:57
Date: Thu, 22 Sep 2005 16:57
17 lines
1476 bytes
1476 bytes
"JD" <nospam@nospam.com> wrote in message news:4332c7c1$1@newsgroups.borland.com... > Does any one know how to select a font and/or color into a > theme class for use with DrawThemeText? I'm not a member of CodeGuru so I can't download the code it seems, but this code might help you, in particular this line: m_pbtnOk->SetFont(GetFont()); You might be able to see how he handled this. http://www.codeguru.com/Cpp/controls/buttonctrl/article.php/c5189/ HTH Jonathan
Technical Details
Message-ID:
<4332e22c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4332c7c1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c9a8347913c694ac X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.nativeapi References: <4332c7c1$1@newsgroups.borland.com> Subject: Re: XP Theme Font Color Date: Thu, 22 Sep 2005 12:57:53 -0400 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.158.123.150 Message-ID: <4332e22c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127408172 69.158.123.150 (22 Sep 2005 09:56:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail