IPageSelectEvent

The IPageSelectEvent class represents a notification that a page has been selected in a notebook. A notebook page handler creates and uses an object of this class.
Note: This event is first dispatched to the notebook and then to the owner window of the notebook.


IPageSelectEvent - Member Functions and Data by Group

Constructors & Destructor

Although you can create objects of this class, typically IPageHandler::dispatchHandlerEvent creates objects of this class from an object of the class IEvent, IControlEvent, or IPageEvent.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IPageSelectEvent


Overload 1
public:
IPageSelectEvent(const IControlEvent& controlEvent)

controlEvent
Reference to a control event object.

Use this version of the constructor to create a page select event object from a control event object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IPageSelectEvent(const IPageEvent& pageEvent)

pageEvent
Reference to a page event object.

Use this version of the constructor to create a page select event object from a page event object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
IPageSelectEvent(const IEvent& event)

event
Reference to an event object.

Use this version of the constructor to create a page select event object from an event object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Page Information

Use these functions to obtain information about the selected page, previously selected page, and the notebook.


[view class]
notebook
public:
virtual INotebook* notebook() const

Returns a pointer to the notebook object that the page belongs to.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
pageHandle
public:
virtual IPageHandle pageHandle() const

Returns the handle of the selected notebook page for overrides of IPageHandler::select and IPageHandler::selectPending.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
previousSelectedPageHandle
public:
IPageHandle previousSelectedPageHandle() const

Returns the handle of the previously selected notebook page for overrides of IPageHandler::select and IPageHandler::selectPending.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IPageSelectEvent - Inherited Member Functions and Data

Inherited Public Functions

IControlEvent
IEvent
IPageEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data