//圆角大小
#define ROUND_CX 7
//圆角宽度
#define ROUND_CY 7
//圆角高度
//屏幕位置
#define LAYERED_SIZE 3
///////////////////////oninitdialog ||OnCreate
//设置区域
CRgn RgnWindow;RgnWindow.CreateRoundRectRgn(LAYERED_SIZE,LAYERED_SIZE,SizeWindow.cx-LAYERED_SIZE,SizeWindow.cy-LAYERED_SIZE,ROUND_CX,ROUND_CY);
//设置区域
SetWindowRgn(RgnWindow,FALSE);