🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Loading x48 icons with ExtractIconEx...

#210
From: Bob Gonder
Date: Sat, 05 Jul 2008 01:27
36 lines
2568 bytes
Mike Collins wrote:

>Hay Bob, you've zip files seems to have embedded itself into the message 
>instead of being attached as a file.

Strange. 
Agent reads it fine.

>Have you tested this on XP?

Wrote it on XP, worked fine.
Tested on Vista too.

> I knocked but a demo based on the code you 
>posted here, and ran it on my 2k3 dev machine, looking at the application 
>that i sent you (the one with the x48 3d shield) and it all looked fine. 
>However, when i run it on an XP test bed, it only seems to get the 4-bit 
>(crappy) icons - which makes my gui look poor.

iexplorer 7 has 3 groups of the 'e', 1)bad dither, 2)jaggies, 3)smooth.
Your jpg showed what would be the second one if you had vers 7.
I don't have outlook or msn so can't look up their icons.

email me at embarqmail.com and I'll return-mail the zip.
I'll add the exe too if you wish (32k, needs 2006 runtime).
robertgonder

Needs scroll bars added to the memo and image.
Ok, added scroll to memo, but image can't figure out.
Added TImageList and TListView, but result is TUgly.
(TImageList and TListView only works with 32x AFAIKT)
In the process, found out that TIcon.Width is always
32 even with a larger (or smaller) icon?
Weird that Form->Image->Canvas->Draw( x, y, icon )
draws full-size icons when icon tells the world
it is only 32x32.
Technical Details
Message-ID: <gr8t64hbop7r2ujtn7fg17bjeubdhqjt9f@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <486960ab@newsgroups.borland.com> <d73j6491uh8j0ess67ai2ht5jdkj5remsf@4ax.com> <486a0d3d$1@newsgroups.borland.com> <bdgk64p9sfo43qu90s1plgmf08v9h4m6rp@4ax.com> <486a50aa@newsgroups.borland.com> <nion645ihefqe5tua1emrg8hl9jt11jb8r@4ax.com> <486bf494@newsgroups.borland.com> <toun64912sdifaviopabqfcg395u48c9m2@4ax.com> <486e1d2c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bcbc54027817c35e
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <none@nowhere.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Loading x48 icons with ExtractIconEx...
Date: Fri, 04 Jul 2008 18:27:08 -0700
Message-ID: <gr8t64hbop7r2ujtn7fg17bjeubdhqjt9f@4ax.com>
References: <486960ab@newsgroups.borland.com> <d73j6491uh8j0ess67ai2ht5jdkj5remsf@4ax.com> <486a0d3d$1@newsgroups.borland.com> <bdgk64p9sfo43qu90s1plgmf08v9h4m6rp@4ax.com> <486a50aa@newsgroups.borland.com> <nion645ihefqe5tua1emrg8hl9jt11jb8r@4ax.com> <486bf494@newsgroups.borland.com> <toun64912sdifaviopabqfcg395u48c9m2@4ax.com> <486e1d2c@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.146.152
X-Trace: newsgroups.borland.com 1215221223 67.77.146.152 (4 Jul 2008 18:27:03 -0700)
Lines: 41
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail