🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: System Icons

#3527
From: Jeff
Date: Wed, 07 Jun 2006 23:19
34 lines
2215 bytes
Thanks for letting me know about FormCreate, I'll be sure to use the 
constructor/destructor from now on.

Unfortunately I'm still only getting 5 icons in the list, is there some 
other method to retrieve these system icons that I can use?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4487589c$1@newsgroups.borland.com...
>
> "Jeff" <Jeff@nospam.com> wrote in message
> news:44875268$1@newsgroups.borland.com...
>
>> Code for image list (called in FormCreate):
>
> DO NOT use the OnCreate event in C++!  It is a Delphi idiom that does not
> work reliably in C++ as it can be triggered before the constructor, which 
> is
> illegal.  Use the actual constructor instead, or else delay the code until
> after the form is fully created.
>
> The same goes for the OnDestroy event - is can be triggered after the
> destructor, which is illegal, so never use the OnDestroy event in C++
> either.
>
>> Are there any properties to the TImageList, other than ShareImages,
>> that I should be concerned with?
>
> No.
>
>
> Gambit
>
> 
Technical Details
Message-ID: <44875ef3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.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
References: <448716d6$1@newsgroups.borland.com> <448720b8$1@newsgroups.borland.com> <44872e9b$1@newsgroups.borland.com> <44872fa9@newsgroups.borland.com> <44874af9$1@newsgroups.borland.com> <44875092$1@newsgroups.borland.com> <44875268$1@newsgroups.borland.com> <4487589c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de14f1cb04eef46a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jeff" <Jeff@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <448716d6$1@newsgroups.borland.com> <448720b8$1@newsgroups.borland.com> <44872e9b$1@newsgroups.borland.com> <44872fa9@newsgroups.borland.com> <44874af9$1@newsgroups.borland.com> <44875092$1@newsgroups.borland.com> <44875268$1@newsgroups.borland.com> <4487589c$1@newsgroups.borland.com>
Subject: Re: System Icons
Date: Wed, 7 Jun 2006 17:19:17 -0600
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 198.68.195.71
Message-ID: <44875ef3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149722355 198.68.195.71 (7 Jun 2006 16:19:15 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.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