The IToolBar::FrameCursor class creates and manages a cursor for iterating over the toolbars that are owned by a frame window.
Constructors & DestructorYou 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.
![]() |
public:
virtual ~FrameCursor()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
FrameCursor(const IFrameWindow* frame)
Creates an IToolBar::FrameCursor to iterate over the toolbars for the specified frame window.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Cursor FunctionsUse these members to iterate over the tool bars that are owned by a frame window.
![]() |
public:
virtual void invalidate()
Invalidates the cursor.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
virtual bool isValid() const
Returns true if the cursor points to a valid toolbar.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
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.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
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.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |