GetColorDlgCustomColor Method

Description

Gets a custom color cell value from Windows Color Dialog.

Syntax

Ctlname.GetColorDlgCustomColor (int nIndex)

Return Type

OLE_COLOR

Remarks

Use this method to get Windows Color Dialog Custom color cells color. nIndex must be from 0 to 15, or the method will always return 0.

This function also can implement through CustomColors property, see also CustomColors property.