共用方式為


CWindow::SetWindowRgn

Sets the window region of a window.

int SetWindowRgn( 
   HRGN hRgn, 
   BOOL bRedraw = FALSE  
) throw();

Remarks

See SetWindowRgn in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetWindowRgn