Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwApplicationCaptionBarObjects.idl
Go to the documentation of this file.
1 import "EnumDefinition.idl";
2 
3 
4 
9 [
10  object,
11  uuid(F289A71A-5940-4D96-B6B2-5F68C8839A0F),
12  dual,
13  nonextensible,
14  pointer_default(unique)
15 ]
16 interface IEwCaptionBarControlX : IDispatch
17 {
26  BSTR getCaption (EwErrorCode* errorCode);
27 
28 
29 
38  EwErrorCode setCaption (BSTR strCaption);
39 
40 
49  BSTR getToolTip (EwErrorCode* errorCode);
50 
51 
52 
61  EwErrorCode setToolTip (BSTR strToolTip);
62 
73  EwErrorCode setIconFromImage (BSTR strImageFilePath, COLORREF crMask);
74 
75 
85 
86 
96  EwErrorCode setStyle (EwCaptionBarPushButtonStyle eCaptionBarPushButtonStyle);
97 
98 
99 
100 };
101 
102 
103 
104 
109 [
110  object,
111  uuid(D3B63584-3D01-43D7-AAED-F33610CCDEF2),
112  dual,
113  nonextensible,
114  pointer_default(unique)
115 ]
116 interface IEwCaptionBarX : IDispatch
117 {
127  IEwCaptionBarControlX addControl (BSTR strCaption, EwErrorCode* errorCode);
128 
129 
138 
139 
140 
141 };
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.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SOLIDWORKS Electrical API: idl_converted/EwApplicationCaptionBarObjects.idl Source File
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.