Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CListBox::GetItemRect
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetItemRect( int nIndex, LPRECT lpRect ) const;
 
  Parameter   Description
 
  <nIndex>    Specifies the zero-based index of the item.
 
  <lpRect>    Specifies a long pointer to a RECT data structure that
              receives the list-box client coordinates of the item.
 
  Remarks
 
  Retrieves the dimensions of the rectangle that bounds a list-box item as
  it is currently displayed in the list-box window.
 
  Return Value
 
  LB_ERR if an error occurs.
 
  See Also
 
  LB_GETITEMRECT
 
 
                                     -♦-