TB_GETITEMRECT  1_R.5M7 

The TB_GETITEMRECT message retrieves the bounding rectangle of a button in a toolbar.

wParam = (WPARAM) iButton;

lParam = (LPARAM) (LPRECT) lprc;

 

Parameters

iButton

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

lprc

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

 

Return Values

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.

See Also

RECT