|
-
Show a File's Associated Icon in a ListView - April 2003 - Tip of the Month
I have noted requests in news groups asking how to display a file's
associated icon in a ListView. Using work done by Brad Martinez
[http://www.mvps.org/btmtz/listview/], I developed code to use API
SHGetFileInfo to retrieve the icon and API ImageList_Draw to load the icon
into an ImageList. I recently revisited the code and decided to make it the
April 2003 tip-of-the-month.
To view the tip link to:
http://www.buygold.net/tips
and look for the April 2003 tip of the month.
Cheers,
Larry Rebich
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks