Unicode Controls & Classes for VB6 - Version 4

clsCommDialogs.GetCustomColor Function

Gets one of the 16 custom colors from the Color dialog

Syntax
Public Function GetCustomColor (ByVal i As Integer) As Long
Parameters
Parameter Description
ByVal i As Integer Custom color index (0..15)
Remarks
Use this function after a call to the ShowColor dialog for retrieving custom colors set by user