Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

LoadImage() problem loading OEM icons

$
0
0
wcx.hIcon = (HICON)LoadImage(NULL, MAKEINTRESOURCE(OIC_INFORMATION), IMAGE_ICON, 0, 0, LR_SHARED | LR_DEFAULTSIZE);
wcx.hIconSm = (HICON)LoadImage(NULL, MAKEINTRESOURCE(OIC_INFORMATION), IMAGE_ICON, 0, 0, LR_SHARED | LR_DEFAULTSIZE);
The above code does not work. Visual Studio says OIC_INFORMATION is not declared. I already included Windows.h as a header. what seems to be the problem? note: wcx is a WNDCLASSEX object. thanks.

Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>