CDocObjectServer::OnActivateView
Call this function to display the DocObject view.
virtual HRESULT OnActivateView( );
Возвращаемое значение
Returns an error or warning value. By default, returns NOERROR if successful; otherwise, E_FAIL.
Заметки
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.
Требования
Header: afxdocob.h