IPageRemoveEvent

The IPageRemoveEvent class represents a notification of the removal of a notebook page. A notebook page handler creates and uses an object of this class.

This event provides functions to return the application page window and tab bitmap. The application must delete the window and bitmap if they exist. This event is first dispatched to the notebook and then to the owner window of the notebook.

AIX Considerations

The AIX release of the Open Class Library does not support this class.


IPageRemoveEvent - 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, IControlEvent, or IPageEvent. You can also destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


[view class]
IPageRemoveEvent


Overload 1
public:
IPageRemoveEvent(const IControlEvent& controlEvent)

controlEvent
Reference to a control event object.

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


Overload 2
public:
IPageRemoveEvent(const IPageEvent& pageEvent)

pageEvent
Reference to a page event object.

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


Overload 3
public:
IPageRemoveEvent(const IEvent& event)

event
Reference to an event object.

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

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


Page Information

Use these members to obtain information about the deleted 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 Ignored


[view class]
pageWindow
public:
IWindow* pageWindow() const

Returns the window or control associated with the page.

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


[view class]
tabBitmap
public:
IBitmapHandle tabBitmap() const

Returns the handle of the bitmap used by the tab associated with the page.

Supported Platforms

Windows OS/2 AIX
Yes Yes Ignored


IPageRemoveEvent - Inherited Member Functions and Data

Inherited Public Functions

IControlEvent
IEvent
IPageEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data