Help Center

CTooltip.NewToolRectmethod

Sets a new bounding rectangle for a tool.

WindowsmethodCTooltip.incdocumented

Syntax

SUB NewToolRect (BYVAL hTooltip AS HWND, BYVAL lpti AS TOOLINFOW PTR)
SUB NewToolRect (BYVAL hTooltip AS HWND, BYREF ti AS TOOLINFOW)

Parameters

NameDescription
hTooltipThe handle of the Tooltip control.
lptiPointer to a TOOLINFOW structure. The hwnd and uId members identify a tool, and the rect member specifies the new bounding rectangle. The cbSize member of this structure must be filled in before sending this message.
tiA TOOLINFOW structure. The hwnd and uId members identify a tool, and the rect member specifies the new bounding rectangle. The cbSize member of this structure must be filled in before sending this message.

Description

Sets a new bounding rectangle for a tool.

Reference

  • Include file CTooltip.inc
  • Defined in AfxNova/CTooltip.inc:503
  • Documented in Windows/WIndows Controls/CTooltip Class.md
  • Topic: CTooltip Class