I have an icon descriptor (HICON) and you need to find out the size of the icon that it represents. How to get this information?
Pass it on GetIconInfo(), then pass either the returned color or the mask HBITMAPin GetObject()to get a structure BITMAPwith elements of height and width.
GetIconInfo()
HBITMAP
GetObject()
BITMAP
Source: https://habr.com/ru/post/1748138/More articles:How to change the issuer name in the certificate (I used keytool)? - javaSanitize user-provided URL for file_get_contents - phpTwitter only loads periodically - jquerywhen do we have a problem with virtual memory using Fastmm4? - delphiкакое событие сообщит мне, что прокрутка завершена в полосе прокрутки? - c#MySQL useful / viable FK in web application? - sqlDynamic counter switching - phpiPhone: другой значок для рабочего стола и магазина приложений - iphoneВопрос дизайна UX: должен ли мастер с несколькими шагами сохранять содержимое формы, когда пользователь нажимает "вернуться назад" /предыдущий? - user-interfaceWhat is a good architecture for a Lift-JPA application? - designAll Articles