DrawState
(hdc,NULL,NULL,MAKELONG(hFond,0),NULLcoordonnéX,coordonnesY,Longueur,Hauteur,DST_BITMAP
| DSS_NORMAL);
sinon pour 98 et 2000:
hBitmap = LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_LOGOBITMAP));
puis dans WndProc(..)
PAINTSTRUCT Paint;
HDC hDC;
HDC hDCmem;
case WM_PAINT:
BeginPaint(hWndOwner, &Paint);
hDC = GetDC(hWndOwner);
hDCmem = CreateCompatibleDC(hDC);
SelectObject(hDCmem, hBitmap);
BitBlt(hDC, 0, 0, bm.bmWidth, bm.bmHeight, hDCmem, 0,
0, SRCCOPY);
DeleteDC(hDCmem);
ReleaseDC(hWndOwner, hDC);
EndPaint(hWndOwner, &Paint);
break;