CView::OnActivateFrame

virtual void OnActivateFrame( UINT nState, CFrameWnd* pFrameWnd );

Parameters

nState

Specifies whether the frame window is being activated or deactivated. It can be one of the following values:

pFrameWnd

Pointer to the frame window that is to be activated.

Remarks

Called by the framework when the frame window containing the view is activated or deactivated.  Override this member function if you want to perform special processing when the frame window associated with the view is activated or deactivated. For example, CFormView performs this override when it saves and restores the control that has focus.

CView OverviewClass MembersHierarchy Chart

See Also   CWnd::OnActivate, CFormView