共用方式為


CWindow::GetUpdateRect

Retrieves the coordinates of the smallest rectangle that completely encloses the update region.

BOOL GetUpdateRect(
   LPRECT lpRect,
   BOOL bErase = FALSE 
) throw();

Remarks

See GetUpdateRect in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetUpdateRgn

RECT

Other Resources

CWindow Members