Hide Table of Contents
SuppressWaitCursorDuringRedraw Property (IModelView)

Gets or sets the state of the wait cursor (also called the hourglass) while this model view is being redrawn.

.NET Syntax

Visual Basic (Declaration) 
Property SuppressWaitCursorDuringRedraw As Boolean
Visual Basic (Usage) 
Dim instance As IModelView
Dim value As Boolean
instance.SuppressWaitCursorDuringRedraw = value
value = instance.SuppressWaitCursorDuringRedraw
bool SuppressWaitCursorDuringRedraw {get; set;}
property bool SuppressWaitCursorDuringRedraw {
   bool get();
   void set (bool value);

Return Value

True to enable the wait cursor, false to disable it



When a model view is being redrawn, the wait cursor is normally displayed. This property allows you to suppress the wait cursor.

An add-in might find this property useful in situations where it is running a series of APIs, and one or more of those APIs cause the model view to redraw. By default, redrawing the model causes the wait cursor to flash on and off, which the end user may find disconcerting. By setting this property to false, the flashing wait cursor is suppressed. IModelDoc::GraphicsRedraw2 is the most common API that causes a model view to redraw.

If your program disables this property, then it should re-enable it when the operation for which it was disabled completes. Otherwise, SolidWorks will continue to not display the wait cursor. In other words, the expected use of this property is that you should disable it for a specific operation (or set of operations) in your code, and then immediately restore its previous behavior when that operation is completed.

Use of this property does not affect SolidWorks performance.

See Also


SolidWorks 2003 SP1, Revision Number 11.1

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

Subject:   Feedback on Help Topics
Page:   SuppressWaitCursorDuringRedraw Property (IModelView)
*   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:


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

Web Help Content Version: API Help (English only) 2010 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.