### IWindow::AttributeCursor

  Use an IWindow::AttributeCursor object to iterate the list of (link) objects associated with an IWindow object. Use to associate attribute objects with an IWindow object.

### IWindow::AttributeCursor - Member Functions and Data by Group

### Window Attributes

Use these member functions for cursoring attributes in a collection.

~AttributeCursor

      public:
      ~AttributeCursor()

  Destructor for the attribute cursor.

Supported Platforms

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

attribute

      public:
      const IAttribute* attribute() const

  Returns the attribute that is at the current position of the cursor.

Supported Platforms

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

AttributeCursor

      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.

Supported Platforms

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

attributeName

      public:
      IAttributeName attributeName() const

  Returns the name associated with the attribute.

Supported Platforms

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

invalidate

      public:
      virtual void invalidate()

  Invalidates the attribute cursor.

Supported Platforms

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

isValid

      public:
      virtual bool isValid() const

  Returns true if the current Attribute is valid.

Supported Platforms

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

setToFirst

      public:
      virtual bool setToFirst()

  Sets the Attribute Cursor to the first attribute in the cursor.

Supported Platforms

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

setToNext

      public:
      virtual bool setToNext()

  Sets the Attribute Cursor to the next element. If there are no more elements isValid will return false

Supported Platforms

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

### IWindow::AttributeCursor - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None