|
-
June 4th, 1999, 12:14 AM
#1
CListCtrl and Image List - Help
I have a ClistCtrl in a Dialog.
In the CListCtrl, I am displaying the File name and Path, etc. I need to display the System Icon for each file.
I know that I need to call
SHFILEINFO sfi;
HIMAGELIST himl = (HIMAGELIST)SHGetFileInfo(
_T("C:\\"),
0,
&sfi,
sizeof(SHFILEINFO),
SHGFI_SMALLICON | SHGFI_SYSICONINDEX
);
to get the handle to the system Icons. I should then create a Image List.
This is my question; How should I make the Image List and the How can I use it.
Any help, sample code, etc will be help ful.
Thanks
Mike
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
|
Click Here to Expand Forum to Full Width
|