🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Assigning Icon from ExtractIconEx without leaks

#181
From: Mike Collins
Date: Tue, 01 Jul 2008 16:43
14 lines
1424 bytes
Hay Bob, again, thanks for the help.

However, I can't predict, easily, when the icon will no longer be needed so 
i don't want to go down the lines of having to free the icons handle.

Also, setting the icon's transparence to true has no effect.  What i want to 
do is render the icon to the bitmap and then free the icon resource.  I can 
do this but the bitmap is not painted transparent.

Any other ideas...

Mike

"Bob Gonder" <none@nowhere.invalid> wrote in message 
Technical Details
Message-ID: <486a4ddb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <486a1911@newsgroups.borland.com> <9mfk64t6o1jol950ah8qm1ghr2kao5ffmo@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dea519f40adb32bd
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <486a1911@newsgroups.borland.com> <9mfk64t6o1jol950ah8qm1ghr2kao5ffmo@4ax.com>
Subject: Re: Assigning Icon from ExtractIconEx without leaks
Date: Tue, 1 Jul 2008 16:43:20 -0000
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133
NNTP-Posting-Host: 78.148.201.251
Message-ID: <486a4ddb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1214926299 78.148.201.251 (1 Jul 2008 08:31:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail