Article View: borland.public.cppbuilder.nativeapi
Article #1720Re: TDirectoryListBox Icons
From: Remy Lebeau (TeamB)
Date: Thu, 21 Jun 2007 19:00
Date: Thu, 21 Jun 2007 19:00
18 lines
1632 bytes
1632 bytes
"Jeff" <Jeff@nospam.com> wrote in message news:467ac723$1@newsgroups.borland.com... > Anyone know how to change the icons in a TDirectoryListBox? Derive a new component and override the virtual ReadBitmaps() method. The default implementation allocates and initializes the OpenedBMP, ClosedBMP, and CurrentBMP members from the application's resources. You can change that to initialize them any way you wish. With that said, I don't really suggest that you continue using TDirectoryListBox. It is a very old component and doesn't look good in modern UIs. There are plenty of third-party replacements that have modern looks and have more functionality. Gambit
Technical Details
Message-ID:
<467acaf6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<467ac723$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6be369ccb681d965 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <467ac723$1@newsgroups.borland.com> Subject: Re: TDirectoryListBox Icons Date: Thu, 21 Jun 2007 12:00:14 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.82.252.126 Message-ID: <467acaf6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182452470 75.82.252.126 (21 Jun 2007 12:01:10 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1469