### 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.

~IResizeEvent

      public:
      virtual ~IResizeEvent()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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.

newSize

      public:
      ISize newSize() const

  Returns the size of the window after it is resized.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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

  -     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

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None