DOCMISC enumeration
Provides miscellaneous property information about a document object.
Syntax
typedef enum __MIDL_IOleDocument_0001 { DOCMISC_CANCREATEMULTIPLEVIEWS = 1, DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2, DOCMISC_CANTOPENEDIT = 4, DOCMISC_NOFILESUPPORT = 8 } DOCMISC;
Constants
- DOCMISC_CANCREATEMULTIPLEVIEWS
-
Object supports multiple views.
- DOCMISC_SUPPORTCOMPLEXRECTANGLES
-
Object supports complex rectangles and therefore implements IOleDocumentView::SetRectComplex.
- DOCMISC_CANTOPENEDIT
-
Object supports activation in a separate window and therefore implements 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 support IPersistStorage only as a persistence mechanism should specify DOCMISC_NOFILESUPPORT. Otherwise, an object must also implement IPersistFile.
A combination of values from DOCMISC is returned at the location specified by the pdwStatus parameter in IOleDocument::GetDocMiscStatus. If an object requires none of these flags, it must write a zero to the pdwStatus parameter.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- IOleDocument::GetDocMiscStatus
- IOleDocumentView::Open
- IOleDocumentView::SetRectComplex
- IPersistFile
- IPersistStorage