M
M Woolcott
Trying to use GetClipRgn from "OnDraw" (Visual C++ 2005), Windows XP. The
code is:
HRGN hRgnClip = CreateRectRgn(rcPaint.left, rcPaint.top, rcPaint.right,
rcPaint.bottom);
int nRet = GetClipRgn(pDC->m_hDC, hRgnClip);
bool bHasClipRgn = (nRet == 1);
..
..
"bHasClipRgn" is never True. Any ideas?
code is:
HRGN hRgnClip = CreateRectRgn(rcPaint.left, rcPaint.top, rcPaint.right,
rcPaint.bottom);
int nRet = GetClipRgn(pDC->m_hDC, hRgnClip);
bool bHasClipRgn = (nRet == 1);
..
..
"bHasClipRgn" is never True. Any ideas?