🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: My Unicode combobox has problems with its XP/Vista visual appearance

#1448
From: Kris
Date: Wed, 01 Aug 2007 07:30
24 lines
1808 bytes
Bob Gonder wrote:

> It is in there....
> #if (_WIN32_WINNT >= 0x501)
> #define CCM_SETWINDOWTHEME      (CCM_FIRST + 0xb)
> #if (_WIN32_WINNT >= 0x501)
> #define CBEM_SETWINDOWTHEME     CCM_SETWINDOWTHEME
> #endif

Thanks. I used (CCM_FIRST + 0xb) instead which takes care of this 
compile issue.

>> - I haven't got a clue what the LPARAM should be. According to MSDN this 
> Maybe this link will help?
> http://msdn2.microsoft.com/en-us/library/Aa361669.aspx

Thanks, but I already visited those (and related) pages but are unable 
to find out what the 'Unicode string that contains the control visual 
style' in LPARAM should be.

I don't have any experience in this area (theming) and I'm not even sure 
if the CBEM_SETWINDOWTHEME approach will even solve my combobox problems.

Kris
Technical Details
Message-ID: <46b036a1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46af7501@newsgroups.borland.com> <46afaefb@newsgroups.borland.com> <8ufva317918arfsp13ohlcre06aadr5080@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,385ec0e9c415aa41
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 01 Aug 2007 09:30:49 +0200
From: Kris <ks@ks.com>
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: My Unicode combobox has problems with its XP/Vista visual appearance
References: <46af7501@newsgroups.borland.com> <46afaefb@newsgroups.borland.com> <8ufva317918arfsp13ohlcre06aadr5080@4ax.com>
In-Reply-To: <8ufva317918arfsp13ohlcre06aadr5080@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.134.83.231
Message-ID: <46b036a1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185953441 83.134.83.231 (1 Aug 2007 00:30:41 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail