BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::OnGetCustomToolTipText ( CString &  strToolTip)
inlinevirtual

Called by the framework when it needs to display a tooltip for the toolbar button.

Returns
Non-zero if the button provides a custom tooltip text; otherwise 0.

If this function returns FALSE the default tooltip text is taken.

Override this function in a derived class, set strToolTip to the desired text and return TRUE in order to provide custom text for a toolbar button.

The default implementation returns FALSE.

Parameters
strToolTipA string which receives the custom tooltip text.