TB_GETITEMRECT message

Retrieves the bounding rectangle of a button in a toolbar.

Parameters

wParam

Zero-based index of the button for which to retrieve information.

lParam

Pointer to a RECT structure that receives the client coordinates of the bounding rectangle.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

This message does not retrieve the bounding rectangle for buttons whose state is set to the TBSTATE_HIDDEN value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: