|
-
Jul 16th, 2000, 11:18 PM
#1
Thread Starter
Lively Member
HOw can i do this? this is what i tryed:
extern void LoadBack(HWND hBack)
{
HANDLE bDC;
HANDLE hBit;
HANDLE BitDC;
bDC=GetDC(hBack);
hBit=LoadResource(hInst,600);
BitDC=GetDC(hBit);
BitBlt(bDC,(long)30,(long)30,(long)50,(long)50,BitDC,(long)0,(long)0,SRCCOPY); //(int)"&HCC0020");
}
in C, and i pass the dialog's handle to this function, the resource #600 is a bitmap i wanna use for the dialog. how can i load a bitmap from a resource and Bitblt it onto the dialog?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|