Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the opacity of the object and the drawing aspects supported by the object.
Syntax
typedef enum tagVIEWSTATUS {
VIEWSTATUS_OPAQUE = 1,
VIEWSTATUS_SOLIDBKGND = 2,
VIEWSTATUS_DVASPECTOPAQUE = 4,
VIEWSTATUS_DVASPECTTRANSPARENT = 8,
VIEWSTATUS_SURFACE = 16,
VIEWSTATUS_3DSURFACE = 32
} VIEWSTATUS;
Constants
VIEWSTATUS_OPAQUEValue: 1 The object is completely opaque. So, for any aspect, it promises to draw the entire rectangle passed to the IViewObject::Draw method. If this value is not set, the object contains transparent parts. If it also support DVASPECT_TRANSPARENT, then this aspect may be used to draw the transparent parts only. This bit applies only to CONTENT related aspects and not to DVASPECT_ICON or DVASPECT_DOCPRINT. |
VIEWSTATUS_SOLIDBKGNDValue: 2 The object has a solid background (consisting in a solid color, not a brush pattern). This bit is meaningful only if VIEWSTATUS_OPAQUE is set. This bit applies only to CONTENT related aspects and not to DVASPECT_ICON or DVASPECT_DOCPRINT. |
VIEWSTATUS_DVASPECTOPAQUEValue: 4 The object supports DVASPECT_OPAQUE. All IViewObjectEx methods taking a drawing aspect as a parameter can be called with this aspect. |
VIEWSTATUS_DVASPECTTRANSPARENTValue: 8 The object supports DVASPECT_TRANSPARENT. All IViewObjectEx methods taking a drawing aspect as a parameter can be called with this aspect. |
VIEWSTATUS_SURFACEValue: 16 The object supports a 2-dimensional surface. |
VIEWSTATUS_3DSURFACEValue: 32 The object supports a 3-dimensional surface. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | ocidl.h |