15,979
社区成员
发帖
与我相关
我的任务
分享
rgn1.CreateRectRgnIndirect(rect1);
rgn2.CreateRectRgnIndirect(rect2);
if(rgn1.CombineRgn(&rgn1,&rgn2,RGN_XOR) == ERROR)
{
return;
}
m_brush.CreateSolidBrush(RGB(255,255,255));
pDC->FillRgn(&rgn1,&m_brush);