AddControlText (class MKI_TOOLTIP_LIST) New in Version 2023.1

www.CAD6.com

C++ Syntax

void

MKI_TOOLTIP_LIST::AddTooltipList(

 HWND f_hDlg,

 __int32 f_nCtlID,

 LPCWSTR f_pszText );

 

Adds a control tooltip 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_pszText

[LPCWSTR] Address of the text to be associated with specified control of the dialog window. Its length is virtually unlimited. Use \n\n to force a new paragraph. Do not use a single \n to force inter-paragraph line breaks!

 

If you want to add several static tooltips to the list, use MKI_TOOLTIP_LIST::SetTooltipList or MKI_TOOLTIP_LIST::AddTooltipList instead to reduce code size. See the description of those procedures for details.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH