Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


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.

© 2016 Microsoft