Поделиться через


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.

Пример

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

Требования

Header: atlcom.h

См. также

Основные понятия

Object Status Macros

OLEMISC