🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5429

Re: XP Theming

#5429
From: Remy Lebeau (TeamB)
Date: Wed, 24 Aug 2005 20:31
24 lines
1704 bytes
"JD" <nospam@nospam.com> wrote in message
news:430cd1e4$1@newsgroups.borland.com...

> This makes sense. However, MSDN provided an example
> where "ToolButton" was passed into OpenThemeData to be
> used for the 'cells' of some sort of calander object.

That works because a Calendar object actually does have a ToolButton element
defined for its theme.

> I don't believe that OpenThemeData is type checking the HWND
> parameter

Yes, it does.  That is the only way for it to know whether the class list is
valid or not for the specified window.

> if it is, then why would it accept the handle from AllocateHWnd?

I cannot answer that because you have yet to show your actual code like I
asked you to.


Gambit
Technical Details
Message-ID: <430cda41$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <430cb5d9$1@newsgroups.borland.com> <430cc947$1@newsgroups.borland.com> <430cd1e4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,155e299ff335af68
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <430cb5d9$1@newsgroups.borland.com> <430cc947$1@newsgroups.borland.com> <430cd1e4$1@newsgroups.borland.com>
Subject: Re: XP Theming
Date: Wed, 24 Aug 2005 13:31:40 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <430cda41$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124915777 68.69.17.41 (24 Aug 2005 13:36:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail