CDC DrawIcon画出来尺寸不对,而且The icon resource must have been previously loaded by using the functions CWinApp::LoadIcon, CWinApp::LoadStandardIcon, or CWinApp::LoadOEMIcon. The MM_TEXT mapping mode must be selected prior to using this function.
CImage,运行时得到一个句柄hIco,貌似用不了,强转成HBITMAP,用Attch结果崩了。
...全文
1012打赏收藏
怎样把一个ICO贴到窗口上
CDC DrawIcon画出来尺寸不对,而且The icon resource must have been previously loaded by using the functions CWinApp::LoadIcon, CWinApp::LoadStandardIcon, or CWinApp::LoadOEMIcon. The MM_TEXT mapping mode must be selected prior to using this function. CImage,运行时得