Share via


TB_GETRECT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves the bounding rectangle for a specified toolbar button.

Syntax

TB_GETRECT wParam = (WPARAM)(INT) iID;
    lParam = (LPARAM)(LPRECT) lprc;

Parameters

  • iID
    Button identifier.
  • lprc
    Returns nonzero if successful, or zero otherwise. A RECT structure that receives the bounding rectangle information.

Return Value

Nonzero indicates success. Zero indicates otherwise.

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