Board index » delphi » system icons

system icons

Is it possible to use the system's icons in my delphi application. I'm
using a TTreeview component and I'd like the trashcan to appear in in,
without having to create the icon myself.

Jeroen Schmit
jer...@swadesign.com

 

Re:system icons


You can obtain the recycle bin icons from the registry:

HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon

It has two string values: empty and full, and their data is the icon
information.

Hope this helps.

Dirk

Jeroen Schmit <jer...@swadesign.com> wrote in article
<01bc39db$850d6580$cba39...@SWA.mail.bart.nl>...

Quote
> Is it possible to use the system's icons in my delphi application. I'm
> using a TTreeview component and I'd like the trashcan to appear in in,
> without having to create the icon myself.

> Jeroen Schmit
> jer...@swadesign.com

Other Threads