MKI_DialogCustomButtonPen (Dialogs) Changed in Version 2018.0

www.CAD6.com

C++ Syntax

void

MKI_DialogCustomButtonPen(

 HWND f_hWindow,

 const LPCWSTR f_pszText,

 __int32 f_nPenMode );

 

void

MKI_DialogCustomButtonPen(

 HWND f_hWindow,

 __int32 f_nIndex );

 

Draws a custom button showing a left-aligned text with pen 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_nPenMode

[__int32] Pen mode to be displayed.

f_nIndex

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

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH