The IResizeEvent class represents an event routed to a window notifying it of sizing changes (after the window's size changes). IResizeEvent provides functions to return the previous and new window sizes.
The AIX release of the Open Class Library maps this event to the ConfigureNotify event.
Constructors & DestructorYou can construct and destruct objects of this class.
![]() |
public:
virtual ~IResizeEvent()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IResizeEvent(const IEvent& event)
Constructs an IResizeEvent object from the specified event. IResizeHandler::dispatchHandlerEvent constructs objects of this class from an object of the class IEvent and passes the resulting object to the function IResizeHandler::windowResize.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Size InformationA resize event describes the sizing change made to a window.
![]() |
public:
ISize newSize() const
Returns the size of the window after it is resized.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
ISize oldSize() const
Returns the size of the window before it is resized.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
In Windows this function always returns ISize(0,0).
virtual ~IEvent()
IWindowHandle controlHandle() const
virtual IWindow* controlWindow() const
IEvent& decrementOwnerLevels()
virtual IWindow* dispatchingWindow() const
unsigned long eventId() const
IWindowHandle handle() const
IEvent( const IWindowHandle& handle, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent( IWindow* window, unsigned long eventId, const IEventParameter1& parameter1, const IEventParameter2& parameter2 )
IEvent(const IEvent& event)
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