Object Status Macros

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

This macro sets flags belonging to ActiveX controls.

DECLARE_OLEMISC_STATUSUsed in ATL ActiveX controls to set the OLEMISC flags.

Used in ATL ActiveX controls to set the OLEMISC flags.

DECLARE_OLEMISC_STATUS(Â
    miscstatus Â)

Parameters

miscstatus
All applicable OLEMISC flags.

Remarks

This macro is used to set the OLEMISC flags for an ActiveX control. Refer to IOleObject::GetMiscStatus for more details.

Example

DECLARE_OLEMISC_STATUS(OLEMISC_RECOMPOSEONRESIZE |
   OLEMISC_CANTLINKINSIDE |
   OLEMISC_INSIDEOUT |
   OLEMISC_ACTIVATEWHENVISIBLE |
   OLEMISC_SETCLIENTSITEFIRST
)

Macros

Show: