MKI_DialogControlSetColorInfo (Dialogs) New in Version 2026.0

www.CAD6.com

C++ Syntax

void

MKI_DialogControlSetColorInfo(

 HWND f_hWindow,

 __int32 f_nCtlID,

 MKI_COLORVALUE f_cColor,

 MKI_COLORMODEL f_cColorMode = MKI_COLORMODE_RGB100 )

 

Retrieves the textual description of the given color, consisting of its color components and, if available, its name, and writes it into a edit or text control in a dialog window.

 

Parameters

f_hWindow

[HWND] Handle of the dialog window that contains the controls.

f_nTextCtlID

[__int32] Identification number of the text or edit control to receive the length value. Will be ignored if negative.

f_cColor

[MKI_COLORVALUE] Color whose description shall be retrieved in the notation defined by f_cColorMode.

f_cColorMode

[MKI_COLORMODEL] This value determines how the content of f_cColor is to be interpreted (see MKI_COLORMODE_*). If not stated, the default mode MKI_COLORMODE_RGB100 is used.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH