i have used ExtractAssociatedIcon function but i found that this function get the icon from an exe file or a resource file.
how can i get any file or folder's icon?
Printable View
i have used ExtractAssociatedIcon function but i found that this function get the icon from an exe file or a resource file.
how can i get any file or folder's icon?
Did you try ::SHGetFileInfo() ? it has the SHGFI_ICON flag in which you can retrieve the icon handle.
Cheers