TB_GETITEMRECTTB_GETITEMRECT*
*Contents  *Index  *Topic Contents
*Previous Topic: TB_GETINSERTMARKCOLOR
*Next Topic: TB_GETMAXSIZE

TB_GETITEMRECT


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

Retrieves the bounding rectangle of a button in a toolbar.

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

This message does not retrieve the bounding rectangle for buttons whose state is set to the TBSTATE_HIDDEN value.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.