Use the nested class ICnrControlList::Cursor to iterate over the elements of an ICnrControlList collection.
Use these functions to create ICnrControlList::Cursor objects.
![]() |
public:
~Cursor()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
Cursor(const ICnrControlList& controlList)
Construct an object of this class to iterate over the elements of the ICnrControlList collection.
Creates a cursor from the given ICnrControlList object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these functions to control the movement of the cursor over the collection.
![]() |
public:
bool setToFirst()
Resets the cursor position to the first element in the collection.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
bool setToNext()
Advances the cursor position to the next element in the collection.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these functions to set or get the validity of the cursor.
![]() |
public:
void invalidate()
Marks the cursor as invalid.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
bool isValid() const
If the cursor points to an element of the ICnrControlList collection, true is returned. Otherwise, false is returned.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these functions to retrieve elements from the ICnrControlList collection.
![]() |
public:
IContainerControl * const element() const
Returns the element pointed at by the cursor.
Windows | OS/2 | AIX |
Yes | Yes | Yes |