Would this:
have the same effect as this:Code:HDC hDC = GetDC( NULL ); HDC hDC2 = CreateCompatibleDC( hDC ); HBITMAP hBM = CreateCompatibleBitmap( hDC, 400, 400 ); SelectObject( hDC2, hBM );
Code:HDC hDC = GetDC( NULL ); HDC hDC2 = CreateCompatibleDC( hDC ); HBITMAP hBM = CreateCompatibleBitmap( hDC2, 400, 400 ); SelectObject( hDC2, hBM );