Hide Table of Contents
SwState Method (ISwQuickTip)

Calls this method to advise your add-in of the current add-in state.

.NET Syntax

Visual Basic (Declaration) 
Sub SwState( _
   ByVal state As System.Integer _
) 
Visual Basic (Usage) 
Dim instance As ISwQuickTip
Dim state As System.Integer
 
instance.SwState(state)
C# 
void SwState( 
   System.int state
)
C++/CLI 
void SwState( 
&   System.int state
) 

Parameters

state

State of SOLIDWORKS application:

  • swQuickTipNoMode      = 0x00000000
  • swQuickTipEmptySWFrameMode    = 0x00000001
  • swQuickTipEmptyPartMode     = 0x00000002
  • swQuickTipSketchingMode     = 0x00000004
  • swQuickTipClosedProfileCompletedMode = 0x00000008
  • swQuickTipSketchDoneMode    = 0x00000010
  • swQuickTipFirstFeatureDoneMode   = 0x00000020
  • swQuickTipEmptyAssemblyMode    = 0x00000040
  • swQuickTipAssemblyOneCompMode   = 0x00000080
  • swQuickTipAssemblyMultiCompMode   = 0x00000100
  • swQuickTipAssemblyMatedMode    = 0x00000200
  • swQuickTipAssemblySimulatingMode  = 0x00000400
  • swQuickTipEmptyDrawingMode    = 0x00000800
  • swQuickTipDrawingOneViewMode   = 0x00001000
  • swQuickTipPMBaseFeatureDialogMode  = 0x00002000
  • swQuickTipPMYellowErrorMessageMode  = 0x00004000 // Display this topic for error conditions when the yellow group box in a PropertyManager is displayed instructing the user to do something before he or she can continue. 
  • swQuickTipPMMateDialogMode    = 0x00008000
  • swQuickTipSheetMetalMode    = 0x00010000
  • swQuickTipSketching3DMode    = 0x00020000
  • swQuickTipDrawingEditSheetMode   = 0x00040000
  • swQuickTipPMInsertModelViewMode   = 0x00080000
  • swQuickTipPMInsertProjectedViewMode  = 0x00100000
  • swQuickTipPMInsertComponentMode   = 0x00200000
  • swQuickTipPMYellowGuidelinesMode  = 0x00400000  // Display this topic if you want Quick Tips to know about the yellow group box in a PropertyManager that is displayed instructing the user to do something before he or she can continue.

Remarks

You can call this method to set the internal state of the Quick Tips portion of your add-in application. For example, you can call this method in response to a menu selection or toolbar button click. This may correspond to beginner, intermediate, or advanced modes. The ISwQuickTip object can then store the state and send a suitable URL when SOLIDWORKS calls ISwQuickTip::Url.

 

See Also

Availability

SOLIDWORKS 2005 FCS, Revision Number 13.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SwState Method (ISwQuickTip)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.