Public Member Functions | |
virtual bool | CanShow (const CGrid &grid, const CGridCell &cell) const =0 |
Indicates whether the tooltip can be shown at a given cell. | |
virtual TString | GetText (const CGrid &grid, const CGridCell &cell) const =0 |
Gets text to display it in the tooltip. |
The interface determines content that is displayed in the tooltip window. GUI library presents two implementations CTooltip and CHtmlTooltip representing information in form of text or text with html tags. When the grid displays information in the tooltip window, it first searches for the implementation established by the CGrid::SetTooltip() function. If the programmer has not set his tooltip implementation, the grid tries to get default ITooltip interface by calling ITooltipCtrl::GetDefaultToolip().
Indicates whether the tooltip can be shown at a given cell.
[in] | grid | The grid where the tooptip is displayed |
[in] | cell | The cell in the grid, the tooltip is displayed on |
Implemented in CTooltip.
Gets text to display it in the tooltip.
[in] | grid | The grid where the tooptip is displayed |
[in] | cell | The cell in the grid, the tooltip is displayed on |
Implemented in CHtmlTooltip, and CTooltip.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |