Gets the state of the toolbar.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetToolbarState2( _
ByVal Cookie As System.Integer, _
ByVal ToolbarId As System.Integer, _
ByVal ToolbarState As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As System.Integer
Dim ToolbarId As System.Integer
Dim ToolbarState As System.Integer
Dim value As System.Boolean
value = instance.GetToolbarState2(Cookie, ToolbarId, ToolbarState) |
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
- ToolbarState
- Toolbar state to query as defined in swToolbarStates_e
Return Value
True or false based on the value specified in ToolbarState
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0