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?