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.


[view class]
~Cursor
public:
~Cursor()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
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.


[view class]
setToFirst
public:
bool setToFirst()

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
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.


[view class]
invalidate
public:
void invalidate()

Marks the cursor as invalid.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
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.


[view class]
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

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data