### IDDEActiveServerSet::Cursor

  Use the nested class IDDEActiveServerSet::Cursor to iterate over the elements of an IDDEActiveServerSet collection.

### IDDEActiveServerSet::Cursor - Member Functions and Data by Group

### Constructors & Destructor

Use these to construct and destruct objects of this class.

~Cursor

      public:
      ~Cursor()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

Cursor

      public:
      Cursor(const IDDEActiveServerSet& serverSet)

  Constructs the cursor and associates it with the given IDDEActiveServerSet collection. The cursor is initially invalid.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Cursor Movement

Use these functions to set the cursor to a specified element of the associated collection.

setToFirst

      public:
      bool setToFirst()

  Sets the cursor to the first IDDEActiveServer object in the collection. Invalidates the cursor if the collection is empty. Returns true if there was a first object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

setToNext

      public:
      bool setToNext()

  Sets the cursor to the next IDDEActiveServer object in the collection. Invalidates the cursor if there were no more objects to be visited. Returns true if there was a next object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Cursor Validation

Use these members to determine if the cursor is valid or to invalidate the cursor.

invalidate

      public:
      void invalidate()

  Invalidates the cursor.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

isValid

      public:
      bool isValid() const

  Returns true if the cursor refers to a validIDDEActiveServer object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### Object Retrieval

Use these functions to retrieve objects from the collection.

element

      public:
      IDDEActiveServer * const element() const

  Returns the IDDEActiveServer object at the cursor location.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | No

### IDDEActiveServerSet::Cursor - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None