<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
AddVaultViewTab Method (IEdmCmdMgr6)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmCmdMgr6 Interface : AddVaultViewTab Method (IEdmCmdMgr6)

Visual Basic
C#
C++/CLI

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

####

IEdmCmdMgr6 Interface
IEdmCmdMgr6 Members

# Availability

SOLIDWORKS PDM Professional 2018