### IToolBar::FrameCursor

  The IToolBar::FrameCursor class creates and manages a cursor for iterating over the toolbars that are owned by a frame window.

### IToolBar::FrameCursor - Member Functions and Data by Group

### Constructors & Destructor

You can construct and destruct objects of this class. You cannot copy or assign IToolBar::FrameCursor objects because both the copy constructor and assignment operator are private functions.

~FrameCursor

      public:
      virtual ~FrameCursor()

Supported Platforms

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

FrameCursor

      public:
      FrameCursor(const IFrameWindow* frame)

  Creates an IToolBar::FrameCursor to iterate over the toolbars for the specified frame window.

Supported Platforms

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

### Cursor Functions

Use these members to iterate over the tool bars that are owned by a frame window.

invalidate

      public:
      virtual void invalidate()

  Invalidates the cursor.

Supported Platforms

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

isValid

      public:
      virtual bool isValid() const

  Returns true if the cursor points to a valid toolbar.

Supported Platforms

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

setToFirst

      public:
      virtual bool setToFirst()

  Initializes the cursor to point to the first toolbar. Returns true if successful, false if there are no toolbars for the frame window.

Supported Platforms

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

setToNext

      public:
      virtual bool setToNext()

  Advances the cursor to point to the next toolbar. Returns true if successful, false if there are no more toolbars in the frame window.

Supported Platforms

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

### IToolBar::FrameCursor - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None