🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 256 color HIcon -> TimageList = ugly bitmap?

#5250
From: Richard Bradbrook
Date: Wed, 21 Sep 2005 06:47
21 lines
1668 bytes
You just create a new ImageList via the ImageList_Create macro, passing it 
ILC_COLOR32 | ILC_MASK as the flags.

i.e.

MyImageList->Clear();
MyImageList->Handle = (int) ImageList_Create(......);

That's how I'm doing it anyway, and it appears to work!

"JD" <nospam@nospam.com> wrote in message 
news:4330f1bf$1@newsgroups.borland.com...
>
> boost <boost@boostnetwork.net> wrote:
>>solved, just in case anybody searches the thing was to add XP manifest to 
>>the project and convert the imagelist to 32Bit
>
> Share the code?
>
> ~ JD
> 
Technical Details
Message-ID: <43310180$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!novia!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43307111$1@newsgroups.borland.com> <43307cf4$1@newsgroups.borland.com> <4330f1bf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,920d355696b18360
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Richard Bradbrook" <dont@spamme.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43307111$1@newsgroups.borland.com> <43307cf4$1@newsgroups.borland.com> <4330f1bf$1@newsgroups.borland.com>
Subject: Re: 256 color HIcon -> TimageList = ugly bitmap?
Date: Wed, 21 Sep 2005 07:47:09 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 86.136.63.228
Message-ID: <43310180$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127285120 86.136.63.228 (20 Sep 2005 23:45:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!novia!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail