StatusBar::ShowTextUpdates Method (Boolean)

 

Determines whether the StatusBar shows text updates.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

bool ShowTextUpdates(
	bool TextUpdates
)

Parameters

TextUpdates
Type: System::Boolean

Required. Indicates whether to show text updates.

Return Value

Type: System::Boolean

A Boolean value indicating whether the StatusBar shows text updates.

The ShowTextUpdates method is useful, for example, when running a Wizard where you do not want text to display from an operation such as Search and Replace.

Sub ShowTextUpdatesExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar

   SBar.Text = "Hello world."
   MsgBox("Turning off text updates...")
   SBar.ShowTextUpdates(False)
   SBar.Text = "Goodbye world."
End Sub
Return to top
Show: