March 21st, 2009, 12:03 PM
Application Skinning -> Multiple Images
guys i'm trying to make my close "Button" Show up, I've already made my main application background show up but I have no idea how to fix my Close Image from showing up correctly, Heres what I'm trying to do.
However that Isn't showing the 2nd image/Close Image. in ANY corner what so ever.
DestroyCaption(hWnd, 700, 515);
HDC dc = BeginPaint(hWnd, &ps);
HDC skin = CreateCompatibleDC(dc);
GetObject(hSkinBitmap, sizeof(bp), &bp);
BitBlt(dc, 0, 0, 700, 515, skin, 0, 0, SRCCOPY);
HDC dc2 = BeginPaint(hWnd, &ps);
HDC close = CreateCompatibleDC(dc2);
GetObject(hBtnClose, sizeof(bp2), &bp2);
BitBlt(dc2, 0,0, 22,22,close, 0 ,0, SRCCOPY);
So what can i do?
March 21st, 2009, 03:10 PM
Re: Application Skinning -> Multiple Images
Okay, I've played around with it some more, Its still not solved however I need to know how to set A Index on the image. Because the close button is being done behind the Skin itself.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!