I have a handle to the icon (HICON) and have to find out the dimensions of the icon that it represents. How do I get this information?
+3
A:
Pass it to GetIconInfo()
then pass either the returned colour or mask HBITMAP
to GetObject()
to get a BITMAP
struct that has height/width members.
Alex K.
2010-06-02 11:29:32