IResizeEvent

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.

AIX Considerations

The AIX release of the Open Class Library maps this event to the ConfigureNotify event.


IResizeEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IResizeEvent
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.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Size Information

A resize event describes the sizing change made to a window.


[view class]
newSize
public:
ISize newSize() const

Returns the size of the window after it is resized.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
oldSize
public:
ISize oldSize() const

Returns the size of the window before it is resized.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes

Windows Considerations

In Windows this function always returns ISize(0,0).


IResizeEvent - Inherited Member Functions and Data

Inherited Public Functions

IEvent

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data