|
AddControlPen (class MKI_TOOLTIP_LIST) New in Version 2023.1 |
www.CAD6.com |
C++ Syntaxvoid MKI_TOOLTIP_LIST::AddControlPen( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_PENDEF_REF f_rPen, bool f_fIdentical, bool f_fPassive, bool f_fMulti );
Adds the standard tooltip for a layer selection button to the current tooltip list.
Parametersf_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_rPen [MKI_CONST_PENDEF_REF] The pen definition whose properties shall be part of the tooltip in addition to a standard phrase such as "Choose the desired pen from this list." f_fIdentical [bool] If true, both property sets of the pen are assumed to be identical, i.e. only the display properties will be listed. f_fPassive [bool] If true, the pens are assumed to be passive mode, i.e. an appropriate text will be added to the tooltip. f_fMulti [bool] If true, the pen selection button is assumed to be in an indeterminate multi-selection state (see MKI_MULTI_BASE), i.e. no pen properties are displayed, only the standard phrase.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH