Displaying 1 result from an estimated 1 matches for "hbmmem".
2005 May 25
0
err:local:LOCAL_GetBlock not enough space in GDI heap
...AL_GetBlock not enough space in GDI heap 10bf for 36 bytes
The WM_PAINT message looks like this:
GetClientRect (m_pMainWnd->m_hWnd, &rc);
hdc = BeginPaint (m_pMainWnd->m_hWnd, &ps);
// Create an off-screen DC for double-buffering
hdcMem = CreateCompatibleDC (hdc);
hbmMem = CreateCompatibleBitmap (hdc, rc.right, rc.bottom);
hOld = SelectObject (hdcMem, hbmMem);
// Draw into hdcMem
FillRect (hdcMem,&rc,CreateSolidBrush (RGB(255,255,255)) );
m_pMainWnd->OnPaint (hdcMem);
// Transfer the off-screen DC to the screen
BitBlt (hdc, 0, 0, rc...