Sets the docking state of the toolbar.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetToolbarDock2( _
ByVal Cookie As System.Integer, _
ByVal ToolbarId As System.Integer, _
ByVal DockingState As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As System.Integer
Dim ToolbarId As System.Integer
Dim DockingState As System.Integer
Dim value As System.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