DBStatusBar.SetColorText Method

Sets the status bar text and specifies foreground and background colors.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Function SetColorText ( _
    possibleOwner As DBStatusBarOwner, _
    pszText As String, _
    crForeColor As UInteger, _
    crBackColor As UInteger _
) As Integer
'Usage
Dim instance As DBStatusBar
Dim possibleOwner As DBStatusBarOwner
Dim pszText As String
Dim crForeColor As UInteger
Dim crBackColor As UInteger
Dim returnValue As Integer

returnValue = instance.SetColorText(possibleOwner, _
    pszText, crForeColor, crBackColor)
public int SetColorText(
    DBStatusBarOwner possibleOwner,
    string pszText,
    uint crForeColor,
    uint crBackColor
)
public:
virtual int SetColorText(
    DBStatusBarOwner^ possibleOwner, 
    String^ pszText, 
    unsigned int crForeColor, 
    unsigned int crBackColor
) sealed
public final function SetColorText(
    possibleOwner : DBStatusBarOwner, 
    pszText : String, 
    crForeColor : uint, 
    crBackColor : uint
) : int
abstract SetColorText : 
        possibleOwner:DBStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 
override SetColorText : 
        possibleOwner:DBStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DBStatusBar Class

DBStatusBar Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace