The TOOLINFO structure contains information about a tool in a ToolTip control.
typedef struct { // ti
UINT cbSize;
UINT uFlags;
HWND hwnd;
UINT uId;
RECT rect;
HINSTANCE hinst;
LPTSTR lpszText;
} TOOLINFO, NEAR *PTOOLINFO, FAR *LPTOOLINFO;
|
Value |
Meaning |
|
TTF_IDISHWND |
Indicates that the uId member is the window handle to the tool. If this flag is not set, uId is the identifier of the tool. |
|
TTF_CENTERTIP |
Centers the ToolTip window below the tool specified by the uId member. |
|
TTF_RTLREADING |
Displays text using right-to-left reading order on Hebrew or Arabic systems. |
|
TTF_SUBCLASS |
Indicates that the ToolTip control should subclass the tool's window to intercept messages, such as WM_MOUSEMOVE. If not set, you need to use the TTM_RELAYEVENT message to forward messages to the ToolTip control. For a list of messages that a ToolTip control processes, see TTM_RELAYEVENT. |