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.


[view class]
~FrameCursor
public:
virtual ~FrameCursor()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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


[view class]
invalidate
public:
virtual void invalidate()

Invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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


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


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

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data