OnActivateView(bActivate, activateView
, DeactivateView
)
Called by the framework when a view is activated or deactivated.
Parameters
bActivate : int
Indicates whether the view is being activated or deactivated.activateView : PyCWnd
The view object that is being activated.DeactivateView : PyCWnd
The view object that is being deactivated.Comments
If a handler exists, the base MFC implementation is not called.
The activateView and deactiveView parameters are the same objects if the
application's main frame window is activated with no change in the
active view for example, if the focus is being transferred from
another application to this one, rather than from one view to
another within the application.
This allows a view to re-realize its palette, if needed.
See Also
PyCView::OnActivateView