### ICnrControlList::Cursor

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

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

### Constructors & Destructor

Use these functions to create ICnrControlList::Cursor objects.

~Cursor

      public:
      ~Cursor()

Supported Platforms

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

Cursor

      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.

Supported Platforms

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

### Cursor Movement

Use these functions to control the movement of the cursor over the collection.

setToFirst

      public:
      bool setToFirst()

  Resets the cursor position to the first element in the collection.

Supported Platforms

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

setToNext

      public:
      bool setToNext()

  Advances the cursor position to the next element in the collection.

Supported Platforms

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

### Cursor Validation

Use these functions to set or get the validity of the cursor.

invalidate

      public:
      void invalidate()

  Marks the cursor as invalid.

Supported Platforms

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

isValid

      public:
      bool isValid() const

  If the cursor points to an element of the ICnrControlList collection, true is returned. Otherwise, false is returned.

Supported Platforms

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

### Object Retrieval

Use these functions to retrieve elements from the ICnrControlList collection.

element

      public:
      IContainerControl * const element() const

  Returns the element pointed at by the cursor.

Supported Platforms

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

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

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None