◄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. -♦-