Sets the docking state of the toolbar.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetToolbarDock2( _
ByVal Cookie As Integer, _
ByVal ToolbarId As Integer, _
ByVal DockingState As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As Integer
Dim ToolbarId As Integer
Dim DockingState As Integer
Dim value As Boolean
value = instance.SetToolbarDock2(Cookie, ToolbarId, DockingState)
|
Parameters
- Cookie
Identifier of toolbar; this is the same cookie you specified in ISwAddin::ConnectToSW
- ToolbarId
- ID of the toolbar as defined in swToolbar_e
- DockingState
Docking state of the toolbar as defined in swToolbarDockStatePosition_e
Return Value
True if the docking state of the toolbar is set, false if not
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0