CToolBarCtrl::GetItemRect

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.

At a Glance

Header file: Afxcmn.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL GetItemRect( int nIndex, LPRECT lpRect ) const;