Partager via


TB_GETITEMRECT

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

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 Values

TRUE indicates success. FALSE indicates failure.

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.