Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.GetRealGrayTextColor Function

Returns a gray color for using when the foreground color is similar to the background color

Syntax
Public Function GetRealGrayTextColor (ByVal lForeColor As Long, _
ByVal lBackColor As Long) As Long
Parameters
Parameter Description
ByVal lForeColor As Long The foreground color
ByVal lBackColor As Long The background color
Remarks