Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你可以发布示例代码,
显示如何CreateIcon()从Gdiplus::Bitmap?
CreateIcon()
Gdiplus::Bitmap
我想将png,jpg,bmp转换为内存中的图标
你可以用这个Gdiplus::Bitmap::GetHICON()方法做到这一点。
Gdiplus::Bitmap::GetHICON()
完成后请记住释放图标DestroyIcon()。
DestroyIcon()