Share via


TB_GETITEMRECT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves the bounding rectangle of a button in a toolbar.

Syntax

TB_GETITEMRECT wParam = (WPARAM) iButton; 
    lParam = (LPARAM)(LPRECT) lprc; 

Parameters

  • iButton
    Zero-based index of the button for which to retrieve information.
  • lprc
    Long pointer to a RECT structure that receives the coordinates of the bounding rectangle.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RECT
Toolbar Controls Messages