Dela via


DECLARE_VIEW_STATUS

Place this macro in an ATL ActiveX control's control class to specify the VIEWSTATUS flags to the container.

DECLARE_VIEW_STATUS( 
   statusFlags  
)

Parameters

  • statusFlags
    [in] The VIEWSTATUS flags. See VIEWSTATUS for a list of flags.

Example

DECLARE_VIEW_STATUS(VIEWSTATUS_SOLIDBKGND | VIEWSTATUS_OPAQUE)

Requirements

Header: atlctl.h

See Also

Other Resources

Aggregation and Class Factory Macros

ATL Macros