Hmm.. just started windows programming today... and can't seem to get an ICON to appear in the upper left corner of my window.
I've made an .ico but it just wont show up...
can someone tell me what exactly I need to make?
Do I need a (.rc) file or (.res) file...?
I tried writing a (.res)
RES_Icon IMAGE_ICON "icon1.ico"
and in my code
wndclassex.hIcon = (HICON)LoadImage hinstance,MAKEINTRESOURCE(RES_Icon),IMAGE_ICON,0,0 ,LR_DEFAULTSIZE);
and in (.rc)
#define RES_Icon 101
if i'm completely off just call me an idiot.... and ill go back and look at some tutorials somewhere...