CDocObjectServer::OnActivateView
Call this function to display the DocObject view.
virtual HRESULT OnActivateView( );
Return Value
Returns an error or warning value. By default, returns NOERROR if successful; otherwise, E_FAIL.
Remarks
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.
Requirements
Header: afxdocob.h