|
MKI_TOOLTIP_LIST (Basic Classes) Changed in Version 2024.0 |
www.CAD6.com |
C++ Syntaxclass MKI_TOOLTIP_LIST { public:
HWND m_hTooltip; __int32 m_nMaxLength;
MKI_TOOLTIP_LIST( void );
~MKI_TOOLTIP_LIST();
void SetTooltipList( HWND f_hDlg, MKI_TOOLTIP_ENTRY_PTR f_pListOfEntries1, MKI_TOOLTIP_ENTRY_PTR f_pListOfEntries2 = nullptr );
bool Init( void );
void Activate( void );
void Exit( void );
void AddTooltipList( HWND f_hDlg, MKI_TOOLTIP_ENTRY_PTR f_pListOfEntries1, MKI_TOOLTIP_ENTRY_PTR f_pListOfEntries2 = nullptr );
bool AddRectText( HWND f_hWnd, MKI_INTRECT& f_rRect, LPCWSTR f_szText );
bool AddControlText( HWND f_hDlg, __int32 f_nCtlID, LPCWSTR f_pszText );
bool AddControlLayer( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_LAYERDEF_REF f_rLayer, bool f_fIdentical, bool f_fMulti );
bool AddControlPen( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_PENDEF_REF f_rPen, bool f_fIdentical, bool f_fPassive, bool f_fMulti );
bool AddControlLine( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_LINEDEF_REF f_rLine, bool f_fMulti );
bool AddControlSystem( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_SYSTEMDEF_REF f_rSystem, bool f_fMulti );
bool AddControlSystem( HWND f_hDlg, __int32 f_nTooltipID, __int32 f_nSystem, bool f_fMulti );
bool AddControlHatch( HWND f_hDlg, __int32 f_nTooltipID, MKI_CONST_HATCHDEF_REF f_rHatch, bool f_fMulti );
bool AddControlModelOrPage( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_PAGEDEF_REF f_rPage, bool f_fMulti );
bool AddControlModelOrPage( HWND f_hDlg, __int32 f_nCtlID, MKI_CONST_MODELDEF_REF f_rModel, bool f_fMulti );
bool AddControlModelOrPage( HWND f_hDlg, __int32 f_nCtlID, __int32 f_nPageIndex, bool f_fMulti ); };
This structure contains data for dialog window control tooltips.
Element Descriptionm_hTooltip [HWND] Handle of the tooltip window. Do not modify! This is NOT the handle of the dialog window that contains the controls. m_nMaxLength [__int32] Length in characters of the longest text that was added to the tooltip window. When finally activating the tooltips, this maximum text lengths will be used to determine the display time for all tooltips in this list (either 5s, 10s, 20s, or 30s).
The user can deactivate all tooltips throughout the application including these, see "Options > Windows"!
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH