Object Status Macros
This macro sets flags belonging to ActiveX controls.
Name | Description |
---|---|
DECLARE_OLEMISC_STATUS | Used in ATL ActiveX controls to set the OLEMISC flags. |
Requirements
Header: atlcom.h
DECLARE_OLEMISC_STATUS
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
)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för