Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwApplicationDockingPane.idl
Go to the documentation of this file.
1 #pragma once
2 
3 #if (__midl >= 501)
4 midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5 #endif
6 
7 import "oaidl.idl";
8 import "ocidl.idl";
9 import "EnumDefinition.idl";
10 
15 [
16  object,
17  uuid(50e4bf1d-d238-4bbf-954f-e885f6f23b89),
18  dual,
19  nonextensible,
20  pointer_default(unique)
21 ]
22 interface IEwDockingPaneX : IDispatch
23 {
32  LONG getID (EwErrorCode* errorCode);
33 
34 
43  BSTR getTitle (EwErrorCode* errorCode);
44 
45 
54  EwErrorCode setTitle (BSTR strTitle);
55 
56 
65  BSTR getTabCaption (EwErrorCode* errorCode);
66 
67 
68 
77  BSTR getTitleToolTip (EwErrorCode* errorCode);
78 
79 
88  EwErrorCode setTitleToolTip (BSTR strTitleToolTip);
89 
90 
99 
100 
109 
110 
119  VARIANT_BOOL isValid (EwErrorCode* errorCode);
120 
121 
130  VARIANT_BOOL isClosed (EwErrorCode* errorCode);
131 
132 
133 
142  VARIANT_BOOL isSelected (EwErrorCode* errorCode);
143 
144 
153  VARIANT_BOOL isTabsVisible (EwErrorCode* errorCode);
154 
155 
166  EwErrorCode attach (ULONGLONG hWnd);
167 
168 
177 
178 
187  VARIANT_BOOL getEnabled (EwErrorCode* errorCode);
188 
189 
198  EwErrorCode setEnabled (VARIANT_BOOL bEnable);
199 
200 
209 
210 
219  EwErrorCode show (VARIANT_BOOL bSetFocus);
220 
221 
229  EwErrorCode remove ();
230 
231 
242  EwErrorCode setIconFromImage (BSTR strImageFilePath, COLORREF crMask);
243 
244 
254  EwErrorCode dockPane (EwDockingPaneDirection eDockingPaneDirection, LONG nID);
255 
256 
266 
267 
278 
279 
291 
292 
293 
294 };
295 
300 [
301  object,
302  uuid(60e38a1a-11ce-4515-98ec-f8e53ba3c787),
303  dual,
304  nonextensible,
305  pointer_default(unique)
306 ]
307 interface IEwDockingPaneManagerX : IDispatch
308 {
319  IEwDockingPaneX addPane (BSTR strCaption, EwDockingPaneDirection eDockingPaneDirection, EwErrorCode* errorCode);
320 
321 
332  IEwDockingPaneX getPaneByID (LONG nID, EwErrorCode* errorCode);
333 
334 
345 
346 
355  VARIANT getPaneArray (EwErrorCode* errorCode);
356 
357 
367  BSTR getGUID (EwErrorCode* errorCode);
368 
369 
378  EwErrorCode setGUID (BSTR strGUID);
379 
380 
392 
393 };
EwErrorCode hide()
Hide the pane.
BSTR getTitleToolTip(EwErrorCode *errorCode)
Get the caption Tooltip of the pane.
EwErrorCode attachPane(LONG nID)
Attach to another pane.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
BSTR getTitle(EwErrorCode *errorCode)
Get the title of the pane.
VARIANT_BOOL isClosed(EwErrorCode *errorCode)
Check if the pane is closed.
VARIANT getPaneArray(EwErrorCode *errorCode)
Return the list of ID of the panes.
VARIANT_BOOL isTabsVisible(EwErrorCode *errorCode)
Check if the tab bar is visible.
EwErrorCode setEnabled(VARIANT_BOOL bEnable)
Disable/enable the pane.
EwErrorCode setGUID(BSTR strGUID)
Fill the GUID of the current Addin.
LONG getID(EwErrorCode *errorCode)
Get ID of the docking pane.
VARIANT_BOOL getEnabled(EwErrorCode *errorCode)
Check if the tab bar is enabled.
Use this interface to manage all the docking Pane in the application.
Definition: EwApplicationDockingPane.idl:308
VARIANT_BOOL isSelected(EwErrorCode *errorCode)
Check if the pane is selected.
EwErrorCode setFocus()
Set the focus of the pane.
EwDockingPaneStandard
Standard Docking Pane.
Definition: EnumDefinition.idl:313
IEwDockingPaneX getPaneByID(LONG nID, EwErrorCode *errorCode)
Return an IEwDockingPaneX that encapsulate the pane find by its identifier.
EwErrorCode saveDefaultPaneDetails(LONG nID)
Save details of a Pane specified by the ID.
EwDockingPaneDirection getDirection(EwErrorCode *errorCode)
Determine the EwDockingPaneDirection enumeration of pPane.
IEwDockingPaneX addPane(BSTR strCaption, EwDockingPaneDirection eDockingPaneDirection, EwErrorCode *errorCode)
Return an IEwDockingPaneX added to the Docking Pane Manager.
EwErrorCode close()
Close the pane.
EwErrorCode removePaneByID(LONG nID)
Remove a Pane specified by the ID.
EwErrorCode attach(ULONGLONG hWnd)
Associate the pane with a user window.
EwDockingPaneDirection
Docking Pane direction enumeration.
Definition: EnumDefinition.idl:299
BSTR getGUID(EwErrorCode *errorCode)
Return the GUID of the current Addin.
EwErrorCode select()
Select the pane.
VARIANT_BOOL isValid(EwErrorCode *errorCode)
Check if the pane is associated with a user window.
EwErrorCode setTitleToolTip(BSTR strTitleToolTip)
Set the caption Tooltip of the pane.
EwErrorCode setIconFromImage(BSTR strImageFilePath, COLORREF crMask)
Add an icon from file.
EwErrorCode attachSelectedPane(EwDockingPaneStandard eDockingPaneStandard)
Attach to another specified pane.
BSTR getTabCaption(EwErrorCode *errorCode)
Get the tab caption of the pane.
EwErrorCode setTitle(BSTR strTitle)
Set a title for this object.
EwErrorCode dockPane(EwDockingPaneDirection eDockingPaneDirection, LONG nID)
Dock an existing pane.
Use this interface to manage a docking Pane.
Definition: EwApplicationDockingPane.idl:23
EwErrorCode show(VARIANT_BOOL bSetFocus)
Show (activate) the pane.


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/EwApplicationDockingPane.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.