search for: m_ptdim

Displaying 1 result from an estimated 1 matches for "m_ptdim".

Did you mean: m7tdim
2005 May 25
0
err:local:LOCAL_GetBlock not enough space in GDI heap
...= CreatePen( PS_SOLID, 3, m_cCurPen); // m_cCurPen: COLORREF HBRUSH hBrush = CreateSolidBrush( m_cCurBrush ); // m_cCurBrush: COLORREF HPEN hOldPen = (HPEN) SelectObject( dc,hPen ); HBRUSH hOldBrush = (HBRUSH) SelectObject( dc,hBrush ); Ellipse (dc,m_ptOrg.x, m_ptOrg.y, m_ptOrg.x+m_ptDim.x, m_ptOrg.y+m_ptDim.y); SelectObject( dc,hOldPen ); SelectObject( dc,hOldBrush ); DeleteObject( hPen ); DeleteObject( hBrush ); What did I do wrong?