共用方式為


CWindow::UpdateWindow

BOOL UpdateWindow( ) throw();

備註

請參閱在 Windows SDK的 UpdateWindow

範例

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::UpdateWindow() to update the window

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bUpdated = myWindow.UpdateWindow();

需求

Header: atlwin.h

請參閱

參考

CWindow 類別

CWindow::RedrawWindow