BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::OnGetTipText ( CString &  strTipString)
inlinevirtual

Called by the framework when it needs to obtain the tooltip text.

Returns
Should return TRUE if there is a text to be displayed as a tooltip; should return FALSE if a tooltip shouldn't be displayed in the current context.

Override this function in a derived class to return tooltips according to the current context. As the input, strTipString contains the current word. As the output, strTipString should contain the text to display.

The default implementation does nothing and returns TRUE.

Parameters
strTipStringThe tooltip text