BCGControlBar Library for .NET
GetSysColor Method




The index of the color to return.
Gets a color structure that is the color of a Windows display element. Each color of displayed elements has a specified index defined in WinXPThemeManager.h file.
Syntax
'Declaration
 
Public Function GetSysColor( _
   ByVal WindowsColorIndex As Integer _
) As Color
'Usage
 
Dim instance As WinXPThemeManager
Dim WindowsColorIndex As Integer
Dim value As Color
 
value = instance.GetSysColor(WindowsColorIndex)
public Color GetSysColor( 
   int WindowsColorIndex
)
public: Color GetSysColor( 
   int WindowsColorIndex
) 
public:
Color GetSysColor( 
   int WindowsColorIndex
) 

Parameters

WindowsColorIndex
The index of the color to return.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinXPThemeManager Class
WinXPThemeManager Members

Send Feedback