|
OWLNext 6.32
|
#include <commctrl.h>
Public Member Functions | |
| operator NMHDR & () | |
| void | SetText (LPCTSTR buff) |
| void | SetText (int resId, HINSTANCE hInstance) |
| void | CopyText (LPCTSTR buff) |
TTooltipText identifies a tool for which text is to be displayed. It is sent to the parent of the tooltip via a WM_NOTIFY/TTN_NEEDTEXT notification. It receives the text to be displayed.
| void owl::TTooltipText::CopyText | ( | LPCTSTR | text | ) |
Sets the text of the tooltip. The text is copied into the buffer owned by the 'TTooltipText'.
| void owl::TTooltipText::SetText | ( | int | resId, |
| HINSTANCE | hInstance | ||
| ) |
Sets the text of the tooltip. The 'resId' identifies a string resource found in the module pointed to by the 'hInstance' parameter.
| void owl::TTooltipText::SetText | ( | LPCTSTR | buff | ) |
Sets text of tooltip to specified buffer. NOTE: The buffer pointed to by the specified parameter must be valid for as long as the TTooltipText points to it. For temporary buffers, use the 'CopyText' method instead.
1.7.4