共用方式為


IView::OnUpdate

Called by MFC after the view's document has been modified.

void OnUpdate();

Remarks

This function allows the view to update its display to reflect modifications.

Requirements

Header: afxwinforms.h

See Also

Tasks

How to: Add Command Routing to the Windows Forms Control

Reference

IView Interface

CView::OnUpdate