Small icon problem
I'm making a program in DEV-C++ and the small icon is not appearing in the title bar of the window. It appears everywhere else (taskbar, Explorer, desktop), so why doesn't it appear in the window itself? Do I have to do something special?
I thought all I had to do was attach the icons to the window class like this:
WndClass.hIcon = LoadIcon(g_hInst, MAKEINTRESOURCE(IDI_GMICOBIG));
WndClass.hIconSm = LoadIcon(g_hInst, MAKEINTRESOURCE(IDI_GMICOSM));
Any hints why it's not appearing in the window?
First, put up your resource script.
Also, try putting (HICON) right before the LoadIcon function. That's all I can say without seeing more code.
Heyyyy, I got it to work!
The problem appeared to be in the resource script, although I still don't get why it appeared in all the other places before.