OWLNext 6.32
Public Member Functions
owl::TTooltipText Class Reference

#include <commctrl.h>

List of all members.

Public Member Functions

 operator NMHDR & ()
void SetText (LPCTSTR buff)
void SetText (int resId, HINSTANCE hInstance)
void CopyText (LPCTSTR buff)

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: