IOleDocumentIOleDocument*
*Contents  *Index  *Topic Contents
*Previous Topic: IOleCommandTarget::QueryStatus
*Next Topic: IOleDocument::CreateView

IOleDocument

The IOleDocument interface enables an Active Document to communicate its ability to create views of its data to containers. This interface also enables an Active Document to enumerate its views and to provide containers with miscellaneous information about itself, such as whether it supports multiple views or complex rectangles.

When to Implement

An OLE document that is to be activated as an Active Document must, at the very least, implement this interface. If an application exposes more than one type of Active Document, each type must implement IOleDocument.

When to Use

An Active Document container calls the methods of this interface to ask an Active Document to create views of itself, enumerate the views it supports, or provide miscellaneous information about its capabilities.

Methods in Vtable Order
CreateView Creates a new view object.
GetDocMiscStatus Returns status information about the Active Document.
EnumViews Enumerates views supported by the Active Document.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.