// CFrameWnd::OnNcCalcSize(bCalcValidRects, lpncsp); 直接不处理
}
CRgn rgn1,rgn2,rgn3,rgn4;
rgn1.CreateRectRgn(lpncsp->rgrc[0].left,lpncsp->rgrc[0].top,lpncsp->rgrc[0].right,lpncsp->rgrc[0].bottom);
rgn2.CreateRectRgn(lpncsp->rgrc[1].left,lpncsp->rgrc[1].top,lpncsp->rgrc[1].right,lpncsp->rgrc[1].bottom);
rgn3.CreateRectRgn(lpncsp->rgrc[2].left,lpncsp->rgrc[2].top,lpncsp->rgrc[2].right,lpncsp->rgrc[2].bottom);
rgn1.CombineRgn(&rgn2,&rgn3,RGN_OR);
SendMessage(WM_NCPAINT,(WPARAM)(HRGN)rgn1,0);