I'm trying to make a custom exit button, and I have already created a custom graphic for the button in photoshop. I have the button as defined by this code:
button = CreateWindow(L"BUTTON", L"", WS_VISIBLE | WS_CHILDWINDOW, 400, 4, 480, 24, hWnd, button_id, hInstance, NULL);
I want to put either close.bmp or close.png or close.ico (whichever's easiest) onto the button, however I cannot find a way to do this without MFC. Please help!!!
Thanks
BitBlt. I have no idea if this is a reasonable way to do it. Maybe it will help. github.com/ezod/minimine/blob/master/src/minimine.cpp