Public Member Functions | |
CTooltipCtrl (bool autoDelete) | |
Constructor. | |
virtual | ~CTooltipCtrl () |
Virtual Destructor. | |
virtual bool | Attach (CGrid &grid) |
Attaches a tooltip window to the grid. | |
virtual void | Detach () |
Detaches a tooltip window from the grid. | |
virtual bool | Activate (const CGrid &grid, CGridCell &cell) |
Makes a tooltip window visible. | |
virtual void | Desactivate () |
Makes a tooltip window invisible. | |
virtual CString | GetCurrentText () const |
Gets the text returned by ITooltip interface. | |
virtual CSize | GetSize (const CGrid &grid, const CGridCell &cell) const |
Gets the size requested by the tooltip to show a text without restriction. | |
virtual const ITooltip & | GetDefaultToolip () const |
Gets a default implementation of ITooltip interface. | |
virtual bool | AutoDelete () const |
IAutoDelete implementation. Returns value passed in the constructor. | |
Protected Member Functions | |
const CGrid * | GetGrid () const |
Gets the grid, to which the tooltip is attached. |
CTooltipCtrl | ( | bool | autoDelete | ) |
Constructor.
[in] | autoDelete | Indicates that this object can be destroyed in the destructor of CGrid |
bool Attach | ( | CGrid & | grid | ) | [virtual] |
Attaches a tooltip window to the grid.
[in] | grid | The grid |
Implements ITooltipCtrl.
Reimplemented in CHtmlTooltipCtrl.
Makes a tooltip window visible.
[in] | grid | The grid |
[in] | cell | Value indicates location and content of the tooltip |
Implements ITooltipCtrl.
Reimplemented in CHtmlTooltipCtrl, and CInPlaceTooltipCtrl.
CString GetCurrentText | ( | ) | const [virtual] |
Gets the text returned by ITooltip interface.
Reimplemented in CHtmlTooltipCtrl, and CInPlaceTooltipCtrl.
Gets the size requested by the tooltip to show a text without restriction.
Reimplemented in CHtmlTooltipCtrl, and CInPlaceTooltipCtrl.
const ITooltip & GetDefaultToolip | ( | ) | const [virtual] |
Gets a default implementation of ITooltip interface.
Implements ITooltipCtrl.
Reimplemented in CHtmlTooltipCtrl.
const CGrid * GetGrid | ( | ) | const [protected] |
Gets the grid, to which the tooltip is attached.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |