Share via


DECLARE_VIEW_STATUS

 

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

Syntax

      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

Aggregation and Class Factory Macros
ATL Macros