米度软件:www.midosoft.cn
void CMainFrame::OnSize(UINT nType, int cx, int cy)
{
CFrameWnd::OnSize(nType, cx ,cy);
CRgn MyRgn;
CRect Rect;
GetWindowRect(&Rect);
Rect -= Rect.TopLeft();
MyRgn.CreateToundRectRgn(Rect.left,Rect.top,Rect.rign,Rect.bottom,150,150);
SetWindowRgn(MyRgn,TRUE);
}
米度软件:www.midosoft.cn