 |
SOLIDWORKS Electrical API
2022.0.0
Electrical API
|
Go to the documentation of this file. 1 import "EnumDefinition.idl";
11 uuid(F289A71A-5940-4D96-B6B2-5F68C8839A0F),
14 pointer_default(unique)
111 uuid(D3B63584-3D01-43D7-AAED-F33610CCDEF2),
114 pointer_default(unique)
EwErrorCode setStyle(EwCaptionBarPushButtonStyle eCaptionBarPushButtonStyle)
Set the style of the control.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwCaptionBarPushButtonStyle getStyle(EwErrorCode *errorCode)
Get the control's style.
BSTR getToolTip(EwErrorCode *errorCode)
Return the ToolTip of this control.
EwErrorCode setToolTip(BSTR strToolTip)
Set a new ToolTip for this control.
EwErrorCode setIconFromImage(BSTR strImageFilePath, COLORREF crMask)
Add an icon from file.
EwErrorCode removeAll()
Remove all controls from Caption Bar.
Use this interface to manage the caption Bar.
Definition: EwApplicationCaptionBarObjects.idl:117
EwCaptionBarPushButtonStyle
Caption bar button's styles.
Definition: EnumDefinition.idl:359
EwErrorCode setCaption(BSTR strCaption)
Set a new caption for this control.
Use this interface to manage the control on captionbar.
Definition: EwApplicationCaptionBarObjects.idl:17
IEwCaptionBarControlX addControl(BSTR strCaption, EwErrorCode *errorCode)
Return an IEwCaptionBarControlX added to the Capationbar.
BSTR getCaption(EwErrorCode *errorCode)
Return the caption of this control.