#include <cshints.h>
Inheritance diagram for csHint:
Public Methods | |
csHint (csComponent *iParent, const char *iText, iFont *Font=NULL, int iFontSize=-1) | |
Create a floating hint with an text string. | |
virtual | ~csHint () |
Cleanup before destruction. | |
virtual void | Draw () |
Draw the hint object. | |
virtual bool | PreHandleEvent (iEvent &Event) |
Handle all events before any others get a chance to eat it. | |
virtual void | SetText (const char *iText) |
Set the text of the hint (also resizes the window). |
A object of this class is automatically created by csComponent class when it detects that the mouse is unmoved for some time over some non-focused component that has an associated hint.