This method retrieves the bounding rectangle of a button in a toolbar control. This method does not retrieve the bounding rectangle for buttons whose state is set to TBSTATE_HIDDEN.
Header file: | Afxcmn.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL GetItemRect( int nIndex, LPRECT lpRect ) const;