MFC Grid manual

CHtmlTooltip Class Reference

ITooltip implementation that presents a cell's content as a html-formatted text. More...

#include <Dapfor/GUI/HtmlTooltip.h>

Inheritance diagram for CHtmlTooltip:

CTooltip ITooltip IAutoDelete

List of all members.


Public Member Functions

 CHtmlTooltip (bool autoDelete)
 Constructor.
TString GetText (const CGrid &grid, const CGridCell &cell) const
 Gets text to display it in the tooltip.

Detailed Description

ITooltip implementation that presents a cell's content as a html-formatted text.

Formats text of the data object returned by Common::CDataObject::GetFormattedString() into html form and returns it.

Version:
1.0.0.0 Initial version

Constructor & Destructor Documentation

CHtmlTooltip ( bool  autoDelete  ) 

Constructor.

Parameters:
[in] autoDelete Indicates that this object can be destroyed in the destructor of CGrid


Member Function Documentation

TString GetText ( const CGrid grid,
const CGridCell cell 
) const [virtual]

Gets text to display it in the tooltip.

Parameters:
[in] grid The grid where the tooptip is displayed
[in] cell The cell in the grid, the tooltip is displayed on
Returns:
Text to be displayed in the tooltip.

Reimplemented from CTooltip.