Contents Index Topic Contents | ||
Previous Topic: IOleDocumentSite Next Topic: IOleDocumentView |
IOleDocumentSite::ActivateMe
HRESULT ActivateMe( IOleDocumentView *pViewToActivate );Asks a document site to activate the document making the call as an Active Document rather than an in-place active object. Optionally, specifies which view of the object document to activate.
- Returns one of the following values:
S_OK Success. E_FAIL The method was not successful. E_OUTOFMEMORY There was not enough memory to complete the operation.
- pViewToActivate
- [in] Address of the document view to be used in activating the Active Document. Can be NULL, in which case the container should call IOleDocument::CreateView to obtain a document view pointer.
See also IOleClientSite, IOleDocumentView::SetInPlaceSite, IOleInPlaceSite, IOleObject::DoVerb
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.