Use an IWindow::AttributeCursor object to iterate the list of
Window AttributesUse these member functions for cursoring attributes in a collection.
![]() |
public:
~AttributeCursor()
Destructor for the attribute cursor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
const IAttribute* attribute() const
Returns the attribute that is at the current position of the cursor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
AttributeCursor(IWindow& win)
Constructor for Attribute Cursor. The attributes for an IWindow object can be cursored by using this constructor with the desired IWindow object.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IAttributeName attributeName() const
Returns the name associated with the attribute.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual void invalidate()
Invalidates the attribute cursor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual bool isValid() const
Returns true if the current Attribute is valid.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual bool setToFirst()
Sets the Attribute Cursor to the first attribute in the cursor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual bool setToNext()
Sets the Attribute Cursor to the next element. If there are no more elements isValid will return false
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |