Share via


TB_GETRECT (Compact 2013)

3/28/2014

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

See Also

Reference

Toolbar Controls Messages
RECT