WNDCLASSEX 结构的成员hIconMs指的具体是什么
本菜鸟刚开始学习windows,许多基础知识都不明白,求帮助
WNDCLASSEX 结构的成员hIconMs指的具体是什么,
为什么我用WNDCLASS结构注册的窗口与我用WNDCLASSEX注册的窗口,在运行显示的时候没有什么分别?
我使用的Win7旗舰版
[解决办法]
hIconSm
Handle to a small icon that is associated with the window class. If this member is NULL, the system searches the icon resource specified by the hIcon member for an icon of the appropriate size to use as the small icon.
[解决办法]
http://bbs.csdn.net/topics/250023858
标题栏和任务栏上显示的是小图标,程序文件图标是大图标。
[解决办法]
小图标在窗口左上角:
如果hIconSm 不为NULL,使用这个图标
如果为NULL,则在hIcon中查找一个合适的图标(一个hIcon可以有若干个不同尺寸的图标)