IPageEvent

The IPageEvent class represents a notification for a page-related notebook event. A notebook page handler creates an object of this class when a notebook page is resized. This class is also the base class for other page-related events.
Note: Page events are first dispatched to the notebook and then to the owner window of the notebook.


IPageEvent - Member Functions and Data by Group

Constructors & Destructor

Although you can construct objects of this class, typically IPageHandler::dispatchHandlerEvent constructs objects of this class from an object of the class IEvent or IControlEvent. You can also destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IPageEvent


Overload 1
public:
IPageEvent(const IPageEvent& pageEvent)

pageEvent
Reference to a page event object.

Use this version of the constructor, the copy constructor, to create a page event object from another page event object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IPageEvent(const IControlEvent& controlEvent)

controlEvent
Reference to a control event object.

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
IPageEvent(const IEvent& event)

event
Reference to an event object.

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Page Information

Use these members to obtain information about the page that is the subject of the notification event and the notebook.


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

Returns a pointer to the notebook object that the page belongs to. This page is the target of the notification event.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


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

Returns the notebook page handle that is the subject of the notification event.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IPageEvent - Inherited Member Functions and Data

Inherited Public Functions

IControlEvent
IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data