MKI_DialogCustomButtonLayer (Dialogs) Changed in Version 2018.0

www.CAD6.com

C++ Syntax

void

MKI_DialogCustomButtonLayer(

 HWND f_hWindow,

 const LPCWSTR f_pszText,

 __int32 f_nLayerMode );

 

void

MKI_DialogCustomButtonLayer(

 HWND f_hWindow,

 __int32 f_nIndex );

 

Draws a custom button showing a left-aligned text with layer mode icons and a right-aligned arrow.

 

Parameters

f_hWindow

[HWND] Handle of the dialog window control.

f_pszText

[const LPCWSTR] Address of the text to be displayed in the button.

f_nLayerMode

[__int32] Layer mode to be displayed.

f_nIndex

[__int32] Zero-based index of the layer definition that shall be displayed. Valid range: 0 <= Value <= MKI_LAYER_MAX (or -1 for "Current"). Will always use the currently active drawing's layer list.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH