Share via


IView::OnActivateView

Called by MFC when a view is activated or deactivated.

void OnActivateView(
   bool activate
);

Parameters

  • activate
    Indicates whether the view is being activated or deactivated.

Requirements

Header: afxwinforms.h

See Also

Concepts

IView Interface

CView::OnActivateView

How to: Add Command Routing to the Windows Forms Control