StatusBar::Highlight Method (Boolean)

 

Toggles highlighting of text within the StatusBar.

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

void Highlight(
	bool Highlight
)

Parameters

Highlight
Type: System::Boolean

Required. Indicates whether text in the StatusBar is highlighted. True means the text is highlighted.

The Highlight setting remains in effect until the text in the StatusBar is either cleared or set.

Sub HighlightExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar
   SBar.Text = "Status Bar testing message."
   SBar.Highlight(True)
End Sub
Return to top
Show: