CDocObjectServer::OnActivateView

virtual HRESULT OnActivateView( );

Return Value

Returns an error or warning value. By default, returns NOERROR if successful; otherwise, E_FAIL.

Remarks

Call this function to display the DocObject view. This function creates an in-place frame window, draws scrollbars within the view, sets up the menus the server shares with its container, adds frame controls, sets the active object, then finally shows the in-place frame window and sets the focus.

CDocObjectServer OverviewClass MembersHierarchy Chart

See Also   CDocObjectServer::OnApplyViewState