LoadIcon in win API window class
Hey, I'm trying to learn WIN API and I'm using these tutorials:
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?
mw.hIcon = LoadIcon(hInstance, "large_icon.bmp");
mw.hIconSm = LoadIcon(hInstance, "small_icon.bmp");