DOCMISCDOCMISC*
*Contents  *Index  *Topic Contents
*Previous Topic: Enumerations
*Next Topic: OLECMDEXECOPT

DOCMISC

typedef enum
{ 
    DOCMISC_CANCREATEMULTIPLEVIEWS    =  1, 
    DOCMISC_SUPPORTCOMPLEXRECTANGLES  =  2, 
    DOCMISC_CANTOPENEDIT,             =  4, 
    DOCMISC_NOFILESUPPORT             =  8  
} DOCMISC;

Provides miscellaneous property information about an Active Document. A combination of values from DOCMISC is returned at the location specified by the pdwStatus parameter in the IOleDocument::GetDocMiscStatus method.

DOCMISC_CANCREATEMULTIPLEVIEWS
Object supports multiple views.
DOCMISC_SUPPORTCOMPLEXRECTANGLES
Object supports complex rectangles and therefore implements the IOleDocumentView::SetRectComplex method.
DOCMISC_CANTOPENEDIT
Object supports activation in a separate window and therefore implements the IOleDocumentView::Open method.
DOCMISC_NOFILESUPPORT
Object does not support read/write files.

Objects that have a limited user interface for activation purposes should set DOCMISC_CANTOPENEDIT. Those that support the IPersistStorage interface only as a persistence mechanism should specify DOCMISC_NOFILESUPPORT. Otherwise, an object must also implement the IPersistFile interface.

If an object requires none of these flags, it must write a zero to the pdwStatus parameter of the IOleDocument::GetDocMiscStatus method.


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