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::GetSelItems
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetSelItems( int nMaxItems, LPINT rgIndex ) const;
 
  Parameter   Description
 
  <nMaxItems> Specifies the maximum number of selected items whose item
              numbers are to be placed in the buffer.
 
  <rgIndex>   Specifies a long pointer to a buffer large enough for the
              number of integers specified by <nMaxItems>.
 
  Remarks
 
  Fills a buffer with an array of integers that specifies the item numbers
  of selected items in a multiple-selection list box.
 
  Return Value
 
  The actual number of items placed in the buffer. If the list box is a
  single-selection list box, the return value is LB_ERR.
 
  See Also
 
  LB_GETSELITEMS
 
 
                                     -♦-