1import "EnumDefinition.idl";
11 uuid(F289A71A-5940-4D96-B6B2-5F68C8839A0F),
14 pointer_default(unique)
190 uuid(D3B63584-3D01-43D7-AAED-F33610CCDEF2),
193 pointer_default(unique)
EwCaptionBarPushButtonStyle
Caption bar button's styles.
Definition: EnumDefinition.idl:388
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
Use this interface to manage the control on captionbar.
Definition: EwApplicationCaptionBarObjects.idl:17
VARIANT_BOOL isEnabled(EwErrorCode *errorCode)
Determine if the control is enabled.
EwErrorCode setIconFromImage(BSTR strImageFilePath, COLORREF crMask)
Add an icon from file.
EwErrorCode setVisible(VARIANT_BOOL bVisible)
Hide or show the control.
BSTR getToolTip(EwErrorCode *errorCode)
Return the ToolTip of this control.
BSTR getCaption(EwErrorCode *errorCode)
Return the caption of this control.
EwErrorCode setStyle(EwCaptionBarPushButtonStyle eCaptionBarPushButtonStyle)
Set the style of the control.
VARIANT_BOOL isVisible(EwErrorCode *errorCode)
Determine if the control is visible.
int getID()
Get the ID of the control.
EwCaptionBarPushButtonStyle getStyle(EwErrorCode *errorCode)
Get the control's style.
EwErrorCode setEnabled(VARIANT_BOOL bEnabled)
Set whether the control is enabled.
EwErrorCode setCaption(BSTR strCaption)
Set a new caption for this control.
BSTR getCommand(EwErrorCode *errorCode)
Return the text of parameter strCommand used when adding a control to the CaptionBar.
EwErrorCode setCommand(BSTR strCommand)
Set the name of the command associated with this control of the CaptionBar.
EwErrorCode setToolTip(BSTR strToolTip)
Set a new ToolTip for this control.
Use this interface to manage the caption Bar.
Definition: EwApplicationCaptionBarObjects.idl:196
IEwCaptionBarControlX findControlByID(int iControlId, EwErrorCode *errorCode)
Get CaptionBar control from ID.
EwErrorCode removeControlByCommandName(BSTR strCommandName)
Remove CaptionBar control from command name.
IEwCaptionBarControlX findControlByCommandName(BSTR strCommandName, EwErrorCode *errorCode)
Get CaptionBar control from command name.
EwErrorCode removeAll()
Remove all controls from Caption Bar.
EwErrorCode recalcLayout()
Recalculate Layout of caption bar for instance if button is hidden, or text length changed.
VARIANT getCaptionBarControlIDArray(EwErrorCode *errorCode)
Get array of control IDs in CaptionBar.
EwErrorCode removeControlByID(int iID)
Remove CaptionBar control from ID.
IEwCaptionBarControlX addControl(BSTR strCommand, EwErrorCode *errorCode)
Return an IEwCaptionBarControlX added to the Captionbar.