Hey, I'm trying to learn WIN API and I'm using these tutorials:
http://www.winprog.org/tutorial/
Ok, I made a basic window, and I have been experimenting with the different styles and stuff, but I haven't been able to load an icon. I'm using this:
The bmp's are in the same directory as the exe. They don't have to be included by the complier as a resource or something do they?Code:mw.hIcon = LoadIcon(hInstance, "large_icon.bmp"); mw.hIconSm = LoadIcon(hInstance, "small_icon.bmp");