Partager via


TB_GETRECT

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

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 Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

RECT | Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.