Microsoft Foundation OLE Classes (mfcole.hlp) (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.
COleClientDoc::GetNextItem
COleClientDoc                               Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  virtual COleClientItem* GetNextItem( POSITION& rPosition,
                                       BOOL* pIsSelected ) = 0;
 
  Parameter     Description
 
  <rPosition>   A reference to an iterator position; starts as NULL and is
                updated as the iteration progresses.
 
  <pIsSelected> A pointer to a BOOL that will be set to TRUE if the next
                item is successfully selected.
 
  Remarks
 
  If your application supports links, you must implement this virtual
  function so that OLECLI.DLL functions can iterate over the client items
  contained in your document. See the description for the Microsoft
  Foundation class CObList for examples of how to use the POSITION
  variable.
 
  Return Value
 
  A pointer to the next client item; NULL if there are no more items.
 
 
                                     -♦-