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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With