共用方式為


CWindow::InvalidateRect

Invalidates the client area within the specified rectangle.

BOOL InvalidateRect(
   LPCRECT lpRect,
   BOOL bErase = TRUE 
) throw();

Remarks

See InvalidateRect in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::Invalidate

CWindow::InvalidateRgn

CWindow::ValidateRect

RECT

Other Resources

CWindow Members