The DOCMISC enumeration provides miscellaneous status information about a document object. A combination of values from DOCMISC is returned in pdwStatus in IOleDocument::GetDocMiscStatus.
typedef enumMembers{
DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
DOCMISC_CANTOPENEDIT, = 4,
DOCMISC_NOFILESUPPORT = 8
} DOCMISC;
DOCMISC_CANCREATEMULTIPLEVIEWS
Object supports multiple views.
DOCMISC_SUPPORTCOMPLEXRECTANGLES
Object supports complex rectangles and, therefore, IOleDocumentView::SetRectComplex.
DOCMISC_CANTOPENEDIT
Object supports activation in a separate windows and, therefore, IOleDocumentView::Open.
DOCMISC_NOFILESUPPORT
Object does not support file read/write.
Remarks
Objects that have a limited user interface for activation purposes should set DOCMISC_CANTOPENEDIT. Those that only support IPersistStorage as a persistence mechanism should specify DOCMISC_NOFILESUPPORT. Otherwise, an object must also implement IPersistFile.
If an object desires none of these status bits it must return a zero in the *pdwStatus parameter of IOleDocument::GetDocMiscStatus.
See Also
IOleDocument::GetDocMiscStatus, IOleDocumentView::Open, IOleDocumentView::SetRectComplex, IPersistFile, IPersistStorage