Serialization | |
| void | Serialize (CArchive &ar) |
| Serializes/deserializes data to/from the archive. | |
| static int | GetSerializeVertion () |
| Gets a serialization version. | |
Public Types | |
| enum | Position { Top, Bottom, Left, Right } |
| Location relative to the cell where the tooltip should be displayed. More... | |
| enum | Mode { Always, AutoPop } |
| Displaying mode. More... | |
Public Member Functions | |
| CTooltipSettings () | |
| Default constructor. | |
| CTooltipSettings (const CTooltipSettings &settings) | |
| Copy constructor. | |
| ~CTooltipSettings () | |
| Destructor. | |
| CTooltipSettings & | operator= (const CTooltipSettings &settings) |
| Operator =. | |
Get- methods | |
| COLORREF | GetBackColor () const |
| Gets a background color. | |
| COLORREF | GetTextColor () const |
| Gets a text color. | |
| COLORREF | GetBorderColor () const |
| Gets a color of the tooltip border. | |
| int | GetDelay () const |
| Gets delay in milliseconds for displaying the tooltip. | |
| int | GetDisappearDelay () const |
| Gets delay in milliseconds for withdrawing the tooltip. | |
| CSize | GetToolTipOffset () const |
| Gets the distance in pixels between the tooltip and a cell. | |
| CSize | GetTextMargin () const |
| Gets an offset in pixels to display text inside of the tooltip. | |
| Position | GetPosition () const |
| Gets a position of the tooltip related to a cell. | |
| Mode | GetMode () const |
| Gets a tooltip displaying mode. | |
Set- methods | |
| void | SetBackColor (COLORREF color) |
| Sets a new background color. | |
| void | SetTextColor (COLORREF color) |
| Sets a new text color. | |
| void | SetBorderColor (COLORREF color) |
| Sets a new color of the border around the tooltip. | |
| void | SetDelay (int span) |
| Sets a new delay in milliseconds for displaying the tooltip. | |
| void | SetDisappearDelay (int span) |
| Sets a new delay in milliseconds for withdrawing the tooltip. | |
| void | SetToolTipOffset (CSize sz) |
| Sets a new distance in pixels between the tooltip and a cell. | |
| void | SetTextMargin (CSize margin) |
| Sets a new offset in pixels to display a text inside of the tooltip. | |
| void | SetPosition (Position position) |
| Sets a new position of the tooltip related to a cell. | |
| void | SetMode (Mode mode) |
| Sets a new tooltip displaying mode. | |
| enum Position |
| enum Mode |
| CTooltipSettings | ( | const CTooltipSettings & | settings | ) |
Copy constructor.
| [in] | settings | Settings to be copied |
| COLORREF GetBackColor | ( | ) | const |
Gets a background color.
| COLORREF GetTextColor | ( | ) | const |
Gets a text color.
| COLORREF GetBorderColor | ( | ) | const |
Gets a color of the tooltip border.
| int GetDelay | ( | ) | const |
Gets delay in milliseconds for displaying the tooltip.
| int GetDisappearDelay | ( | ) | const |
Gets delay in milliseconds for withdrawing the tooltip.
| CSize GetToolTipOffset | ( | ) | const |
Gets the distance in pixels between the tooltip and a cell.
| CSize GetTextMargin | ( | ) | const |
Gets an offset in pixels to display text inside of the tooltip.
| CTooltipSettings::Position GetPosition | ( | ) | const |
Gets a position of the tooltip related to a cell.
| CTooltipSettings::Mode GetMode | ( | ) | const |
Gets a tooltip displaying mode.
| void SetBackColor | ( | COLORREF | color | ) |
Sets a new background color.
| [in] | color | Background color |
| void SetTextColor | ( | COLORREF | color | ) |
Sets a new text color.
| [in] | color | Text color |
| void SetBorderColor | ( | COLORREF | color | ) |
Sets a new color of the border around the tooltip.
| [in] | color | Border color |
| void SetDelay | ( | int | delay | ) |
Sets a new delay in milliseconds for displaying the tooltip.
| [in] | delay | Delay in milliseconds |
| void SetDisappearDelay | ( | int | delay | ) |
Sets a new delay in milliseconds for withdrawing the tooltip.
| [in] | delay | Delay in milliseconds |
| void SetToolTipOffset | ( | CSize | offset | ) |
Sets a new distance in pixels between the tooltip and a cell.
| [in] | offset | Tooltop offset in pixels |
| void SetTextMargin | ( | CSize | margin | ) |
Sets a new offset in pixels to display a text inside of the tooltip.
| [in] | margin | Text offset in pixels |
| void SetPosition | ( | Position | position | ) |
Sets a new position of the tooltip related to a cell.
| [in] | position | Tooltip location |
| void SetMode | ( | Mode | mode | ) |
Sets a new tooltip displaying mode.
| [in] | mode | Tooltip mode |
| int GetSerializeVertion | ( | ) | [static] |
Gets a serialization version.
| void Serialize | ( | CArchive & | ar | ) |
Serializes/deserializes data to/from the archive.
| [in] | ar | Archive to store or restore the data. |
| CTooltipSettings & operator= | ( | const CTooltipSettings & | settings | ) |
Operator =.
| [in] | settings | Settings to be copied |
| Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |