Loading Small System Icons
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm trying to load the small warning triangle system icon using the following code:
LoadImage(NULL,NULL,MAKEINTRESOURCE(OIC_BANG)IMAGE_ICON,16,16,LR_SHARED | LR_DEFAULTCOLOR)
This gives me an image but it's the 32x32 version, normally shown by MessageBox(), resized to 16x16. How do I get the proper 16x16 version shown by Event Viewer or by system tray balloon tips?