15,979
社区成员
发帖
与我相关
我的任务
分享
CRect animRect;
GetClientRect(&animRect);
CRgn rgn;
rgn.CreateRoundRectRgn( animRect.left+3, animRect.top+2,animRect.right-2, animRect.bottom-1, 6, 6);
SetWindowRgn(rgn, TRUE);
CRect animRect;
GetClientRect(&animRect);
CRgn rgn;
rgn.CreateRoundRectRgn(0,0,animRect.Width()+1,animRect.Height()+1, 6, 6);
SetWindowRgn(rgn, TRUE);