Article View: borland.public.cppbuilder.nativeapi
Article #5256Re: 256 color HIcon -> TimageList = ugly bitmap?
From: boost
Date: Wed, 21 Sep 2005 23:21
Date: Wed, 21 Sep 2005 23:21
32 lines
2001 bytes
2001 bytes
Richard Bradbrook wrote: > 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(......); hi Richard! :) I don't know if doing this the original Handle is released? From Delphi Help: "Getting the Handle property of creates the Windows image list automatically if it didn't previously exist, and returns the resulting handle." > > 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:
<4331ea87$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43307111$1@newsgroups.borland.com> <43307cf4$1@newsgroups.borland.com> <4330f1bf$1@newsgroups.borland.com> <43310180$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 Date: Thu, 22 Sep 2005 01:21:11 +0200 From: boost <boost@boostnetwork.net> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: 256 color HIcon -> TimageList = ugly bitmap? References: <43307111$1@newsgroups.borland.com> <43307cf4$1@newsgroups.borland.com> <4330f1bf$1@newsgroups.borland.com> <43310180$1@newsgroups.borland.com> In-Reply-To: <43310180$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.58.118.161 Message-ID: <4331ea87$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127344775 83.58.118.161 (21 Sep 2005 16:19:35 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail