开发者

How to get the dimensions of an Icon from its handle?

I have a handle to the icon (HICON) and have to find out the dimensions of the icon that it repres开发者_如何学JAVAents. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜