Use the nested class IDDEActiveServerSet::Cursor to iterate over the elements of an IDDEActiveServerSet collection.
Use these to construct and destruct objects of this class.
![]() |
public:
~Cursor()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
Cursor(const IDDEActiveServerSet& serverSet)
Constructs the cursor and associates it with the given IDDEActiveServerSet collection. The cursor is initially invalid.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to set the cursor to a specified element of the associated collection.
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to determine if the cursor is valid or to invalidate the cursor.
![]() |
public:
void invalidate()
Invalidates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
bool isValid() const
Returns true if the cursor refers to a validIDDEActiveServer object.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to retrieve objects from the collection.
![]() |
public:
IDDEActiveServer * const element() const
Returns the IDDEActiveServer object at the cursor location.
Windows | OS/2 | AIX |
Yes | Yes | No |