应网友要求,一个窗口镂空程序。说明 CreateRectRgn(0, 0, cx+A_BIT_MORE, cy+A_BIT_MORE); CombineRgn(&wndRgn;, &rgnTemp;, RGN_DIFF); SetWindowRgn(wndRgn,FALSE); 等CRgn函数的使用