Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

ToolTipsCallback

Defines an application supplied callback function, which can define the ToolTip text when a ToolTip or ScrollTip is to be displayed.

C

BOOL WINAPI SftTree_SetToolTipsCallback(HWND hwndCtl,
        LPSFTTREE_TOOLTIPSPARM lpToolTips);
BOOL WINAPI SftTreeSplit_SetToolTipsCallback(HWND hwndCtl,
        LPSFTTREE_TOOLTIPSPARM lpToolTips);

C++

BOOL CSftTree::SetToolTipsCallback(LPSFTTREE_TOOLTIPSPARM lpToolTips = NULL);
BOOL CSftTreeSplit::SetToolTipsCallback(LPSFTTREE_TOOLTIPSPARM lpToolTips = NULL);

Parameters

hwndCtl

The window handle of the tree control.

lpToolTips

A pointer to a SFTTREE_TOOLTIPSPARM structure defining the callback function.

Returns

The return value is TRUE if the function was successful, otherwise FALSE is returned.

Comments

The SetToolTipsCallback function defines an application supplied callback function, which can define the ToolTip text when a ToolTip or ScrollTip is to be displayed.

ToolTips are enabled for each column in the SFTTREE_COLUMN_EX structure member style. ScrollTips are enabled using SetScrollTips.

See Also C/C++ API | Categories | Notifications