共用方式為


CWindow::GetDCEx

擷取工作區的裝置內容並允許裁剪選項。

HDC GetDCEx( 
   HRGN hRgnClip, 
   DWORD flags  
) throw();

備註

請參閱在 Windows SDK的 GetDCEx

需求

Header: atlwin.h

請參閱

參考

CWindow Class

CWindow::GetDC

CWindow::GetWindowDC

CWindow::ReleaseDC