SysColorCtrl.ConvertHexToRGB method

The ConvertHexToRGB method converts a hexadecimal value to RGB.

Syntax

SysColorCtrl.ConvertHexToRGB( _
  ByVal szHex _
)

Parameters

szHex [in]

A string that contains the hexadecimal value of the color.

Return value

An integer that is the RGB value equivalent of the hexadecimal value specified by szHex.

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll