C++
CAcTcUiCatalogViewItem* GetNextSelectedItem( POSITION& pos ) const;
Description
Gets the selected item identified by pos; then updates pos. You can use GetNextSelectedItem() in a forward iteration loop if you establish the initial position with a call to GetFirstSelectedItemPosition(). You must ensure that the POSITION value is valid.
Returns the pointer to the next selected item, or NULL if the pos argument is invalid or if there is an error.
Parameters
Parameters | Description |
---|---|
pos | Input reference to a POSITION value returned by a previous call to GetNextSelectedItem() or GetFirstSelectedItemPosition(); the value is updated to the next position by this call |