search for: m_ptorg

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

2005 May 25
0
err:local:LOCAL_GetBlock not enough space in GDI heap
...d looks like this: HPEN hPen = 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?