AddControlLayer (class MKI_TOOLTIP_LIST) New in Version 2023.1

www.CAD6.com

C++ Syntax

void

MKI_TOOLTIP_LIST::AddControlLayer(

 HWND f_hDlg,

 __int32 f_nCtlID,

 MKI_CONST_LAYERDEF_REF f_rLayer,

 bool f_fIdentical,

 bool f_fMulti );

 

Adds the standard tooltip for a layer selection button to the current tooltip list.

 

Parameters

f_hDlg

[HWND] Handle of the dialog window that contains the controls to be associated with the given tooltips.

f_nCtlID

[__int32] Positive identification number of the dialog control to which the tooltip shall be associated. Tooltips cannot be associated to static text controls!

f_rLayer

[MKI_CONST_LAYERDEF_REF] The layer definition whose properties shall be part of the tooltip in addition to a standard phrase such as "Choose the desired layer from this list."

f_fIdentical

[bool] If true, both property sets of the layer are assumed to be identical, i.e. only the display properties will be listed.

f_fMulti

[bool] If true, the layer selection button is assumed to be in an indeterminate multi-selection state (see MKI_MULTI_BASE), i.e. no layer properties are displayed, only the standard phrase.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH