MKI_DialogCustomButtonColor (Dialogs) Changed in Version 2014.2

www.CAD6.com

C++ Syntax

void

MKI_DialogCustomButtonColorEx(

 HWND f_hWindow,

 MKI_COLORVALUE f_cColor,

 MKI_COLORMODEL f_cColorMode,

 bool f_fLineOnly );

 

Draws a custom button showing a color field.

 

Parameters

f_hWindow

[HWND] Handle of the dialog window control.

f_cColor Changed in Version 6.60

[MKI_COLORVALUE] Color of the button in the notation defined by ColorMode.

f_cColorMode New in Version 6.60

[MKI_COLORMODEL] The value ColorMode determines how the content of Color is to be interpreted (see MKI_COLORMODE_*).

f_fLineOnly New in Version 2014.2

[bool] If true, the color will only fill the middle 50% of the button control, indicating a line color. Otherwise, the button control will be filled completely, indicating a fill color.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH