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.
The AIX release of the Open Class Library does not support this class.
Constructors & DestructorAlthough 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.
![]() |
public:
virtual ~IPageRemoveEvent()
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
![]() |
public:
IPageRemoveEvent(const IControlEvent& controlEvent)
Use this version of the constructor to create a page remove event object from a control event object.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
public:
IPageRemoveEvent(const IPageEvent& pageEvent)
Use this version of the constructor to create a page remove event object from a page event object.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
public:
IPageRemoveEvent(const IEvent& event)
Use this version of the constructor to create a page remove event object from an event object.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
Page InformationUse these members to obtain information about the deleted page and the notebook.
![]() |
public:
virtual INotebook* notebook() const
Returns a pointer to the notebook object that the page belongs to.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
![]() |
public:
IWindow* pageWindow() const
Returns the window or control associated with the page.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
![]() |
public:
IBitmapHandle tabBitmap() const
Returns the handle of the bitmap used by the tab associated with the page.
| Windows | OS/2 | AIX |
| Yes | Yes | Ignored |
virtual ~IControlEvent()
virtual unsigned long controlId() const
IControlEvent(const IEvent& event)
IControlEvent(const IControlEvent& event)
virtual ~IEvent()
IWindowHandle controlHandle() const
virtual IWindow* controlWindow() const
IEvent& decrementOwnerLevels()
virtual IWindow* dispatchingWindow() const
unsigned long eventId() const
IWindowHandle handle() const
IEvent( IWindow* window, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent(const IEvent& event)
IEvent( const IWindowHandle& handle, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent& operator =(const IEvent& event)
IEventParameter1 parameter1() const
IEventParameter2 parameter2() const
bool passToOwner() const
IEventResult result() const
IEvent& setControlHandle(const IWindowHandle& handle)
IEvent& setDispatchingHandle(const IWindowHandle& handle)
IEvent& setDispatchingWindow(IWindow* window)
IEvent& setHandle(const IWindowHandle& handle)
IEvent& setNumberOfLevels(int levels = - 1)
IEvent& setPassToOwner(bool passOn = true)
IEvent& setResult(bool eventResult)
IEvent& setResult(const IEventResult& eventResult)
virtual IWindow* window() const
virtual ~IPageEvent()
IPageEvent(const IControlEvent& controlEvent)
IPageEvent(const IEvent& event)
IPageEvent(const IPageEvent& pageEvent)