I am trying to remake minesweeper (with some tweaks). I got to as far as placing all the images on the window, but in minesweeper when you click down anywhere the smily faces changes. I am working on that right now in my program. This is what I have so far...
bClick = true;
bClick = false;
SelectObject(hdc, LoadImage(NULL, "C:\\Program Files\\Minesweeper7\\Skins\\Default\\Idle.bmp", IMAGE_BITMAP, 26, 26, LR_LOADFROMFILE));
SelectObject(hdc, LoadImage(NULL, "C:\\Program Files\\Minesweeper7\\Skins\\Default\\Active.bmp", IMAGE_BITMAP, 26, 26, LR_LOADFROMFILE));
BitBlt(hdc, rWindowRect.right / 2 - 12, 12, 26, 26 , hdcmem, 0, 0, SRCCOPY);
It either draws one bitmap or the other. It would not switch between the bitmaps. Anyway around it?
I probably won't visit this page for a few days and I'm afraid I won't be able to find it after I come back, so please email me at CrissyCrisCris@hotmail.com if you have a solution.