Unicode Controls & Classes for VB6 - Version 4
clsGpSession
.ColorFromRGB Function
Returns a GDI Plus color from a standard VB6 like color
Syntax
Public Function ColorFromRGB (ByVal
lColor
As Long, _
Optional ByVal
alpha
As Byte = 255) As Long
Parameters
Parameter
Description
ByVal
lColor
As Long
GDI Color (ex. VbRed or RGB(&HFF,0,0))
Optional ByVal
alpha
As Byte = 255
Transparency value (0..255)
Remarks