setWinldowRgn】的更多相关文章

CRgn(HRGN) SetWindowRgn setRgn{ CRgn rgnRect; CRgn rgnHole; //获取窗口大小 CRect rcWnd; GetWindowRect(&rcWnd); //创建区域 rgnRect.CreatRectRgn(0,22, rcWnd.Width(), rWnd.Height()); rgnHole.CreateEllipticRgn(50, 50, 100, 100); //区域运算 rgnRect.CombineRgn(&rgnRe…