SOLIDWORKS PDM Professional API Help Send Feedback
AddVaultViewTab Method (IEdmCmdMgr6)
See Also 
EPDM.Interop.epdm Namespace > IEdmCmdMgr6 Interface : AddVaultViewTab Method (IEdmCmdMgr6)


hWnd
Handle of the .NET control to display in the tab
bsName
Name of the tab
bsIconPath
Full path and filename of the 16X16 PNG image to display next to bsName on the tab
bsToolTip
Tool tip for the tab
bsUniqueID
Unique ID for this control
Adds the specified tab to the right of the tabs in the bottom panel of a vault view before opening it in File Explorer.

Syntax

Visual Basic 
Sub AddVaultViewTab( _
   ByVal hWnd As System.Long, _
   ByVal bsName As System.String, _
   ByVal bsIconPath As System.String, _
   ByVal bsToolTip As System.String, _
   ByVal bsUniqueID As System.String _
) 
C# 
void AddVaultViewTab( 
   System.long hWnd,
   System.string bsName,
   System.string bsIconPath,
   System.string bsToolTip,
   System.string bsUniqueID
)
C++/CLI 
void AddVaultViewTab( 
&   System.int64 hWnd,
&   System.String^ bsName,
&   System.String^ bsIconPath,
&   System.String^ bsToolTip,
&   System.String^ bsUniqueID
) 

Parameters

hWnd
Handle of the .NET control to display in the tab
bsName
Name of the tab
bsIconPath
Full path and filename of the 16X16 PNG image to display next to bsName on the tab
bsToolTip
Tool tip for the tab
bsUniqueID
Unique ID for this control

Example

See the IEdmCmdMgr6 examples.

Remarks

Call this method in your add-in's implementation of IEdmAddIn5::OnCmd where you handle the EdmCmdType.EdmCmd_PreExploreInit notification.
 

See Also

Availability

SOLIDWORKS PDM Professional 2018