Nimble Coder

Adventures in Nimble Coding
posts - 77, comments - 56, trackbacks - 1

System Icons in C++ and BCB

I am just going through some of my old code looking for useful snippets. I found one snippet that was pretty cool (at least it was at the time!) where I used a grid control to display items for the user to configure. The grid had folders and so I wanted to use the system folder icon that are used in Windows Explorer. After a little searching on the Internet and MSDN, I came up with the following:

Don't forget to call DestroyIcon() when you are finished. When I actually used it in an application (BCB - Borland C++ Builder 5), it looked more like the following:

Print | posted on Friday, January 26, 2007 1:05 PM |

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 3 and 2 and type the answer here:

Powered by: