我有一个图标文件里面有张64*64*32的BMP
可是我用LoadIcon加载的都是32位的,怎么才能加载大小最大的那一张呢?
------解决思路----------------------
"This function has been superseded by the LoadImage function"
LoadImage
The LoadImage function loads an icon, cursor, or bitmap.
HANDLE LoadImage(
HINSTANCE hinst, // handle of the instance containing the image
LPCTSTR lpszName, // name or identifier of image
UINT uType, // type of image
int cxDesired, // desired width
int cyDesired, // desired height
UINT fuLoad // load flags
);
------解决思路----------------------
使用LoadImage指定期望的大小