TTM_NEWTOOLRECT message

Sets a new bounding rectangle for a tool.

Parameters

wParam

Must be zero.

lParam

Pointer to a TOOLINFO 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.

Return value

No return value.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TTM_NEWTOOLRECTW (Unicode) and TTM_NEWTOOLRECTA (ANSI)