Article View: borland.public.csharpbuilder.language.csharp
Article #78Implementing a system imagelist in C#
From: qyte
Date: Thu, 23 Feb 2006 17:59
Date: Thu, 23 Feb 2006 17:59
9 lines
1283 bytes
1283 bytes
I used to use the SHGetFileInfo for using the default icons for some extentions. I found that the .NET ImageList does not allow to set the ImageList.Handle. And therefore it seems impossible to retrieve the handle of the system imagelist. Apart from that the FileInfo or SystemFileInfo class has no property at all as for the sysiconindex for the file. I really would like any suggestions!!! Thanks in advance.
Technical Details
Message-ID:
<43fdf80e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,3398a5a3e0c826b5,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 23 Feb 2006 19:59:40 +0200 From: qyte <gyte@vivodinet.gr> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Implementing a system imagelist in C# Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.171.210.195 Message-ID: <43fdf80e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140717582 83.171.210.195 (23 Feb 2006 09:59:42 -0700) Lines: 9 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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