TB_GETITEMDROPDOWNRECT message

Gets the bounding rectangle of the dropdown window for a toolbar item with style BTNS_DROPDOWN.

Parameters

wParam [in]

The zero-based index of the toolbar control item for which to retrieve the bounding rectangle.

lParam [in, out]

A pointer to a **RECT** structure to receive the bounding rectangle information. The message sender is responsible for allocating this structure. The coordinates returned in the **RECT** structure are expressed as client coordinates.

Return value

Always returns nonzero.

Remarks

The item must have the BTNS_DROPDOWN style.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h