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