CTooltip.GetBubbleSizemethod
Returns the width and height of a Tooltip control.
Syntax
FUNCTION GetBubbleSize (BYVAL hTooltip AS HWND, BYVAL lpti AS TOOLINFOW PTR) AS DWORD
FUNCTION GetBubbleSize (BYVAL hTooltip AS HWND, BYREF ti AS TOOLINFOW) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hTooltip | The handle of the Tooltip control. | |
lpti | Pointer to the tooltip TOOLINFOW structure. | |
ti | A tooltip TOOLINFOW structure. |
Return value
Returns the width of the tooltip in the low word and the height in the high word if successful. Otherwise, it returns FALSE.
Description
Returns the width and height of a tooltip control.
Remarks
If the TTF_TRACK and TTF_ABSOLUTE flags are set in the uFlags member of the tooltip TOOLINFOW structure, this message can be used to help position the tooltip accurately.
Reference
- Include file
CTooltip.inc - Defined in AfxNova/CTooltip.inc:247
- Documented in Windows/WIndows Controls/CTooltip Class.md
- Topic: CTooltip Class