Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DECLARE_OLEMISC_STATUS

 

Used in ATL ActiveX controls to set the OLEMISC flags.


      DECLARE_OLEMISC_STATUS( 
   miscstatus  
)

miscstatus

All applicable OLEMISC flags.

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
)

Requirements

Header: atlcom.h

Show: