### IFrameEvent

  The frame window handler creates objects of the IFrameEvent class and of classes derived from IFrameEvent. The frame window handler dispatches these objects to the handler's virtual function specific to a frame event.

  Mainly, this class provides a common means of obtaining the frame window associated with the event.

### IFrameEvent - Member Functions and Data by Group

### Constructors & Destructor

You can construct, destruct, copy, and assign objects of this class.

~IFrameEvent

      public:
      ~IFrameEvent()

Supported Platforms

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

IFrameEvent

  Overload 1

      public:
      IFrameEvent(const IEvent& baseEvent)

  Construct an IFrameEvent using the specified event. IFrameHandler::dispatchHandlerEvent constructs objects of this class from an object of the class IEvent. The event's window handle must be that of a frame window.

Supported Platforms

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

  Overload 2

      public:
      IFrameEvent(const IFrameEvent& frameEvent)

  Construct an IFrameEvent by copying the specified event.

Supported Platforms

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

operator =

      public:
      IFrameEvent& operator =(const IFrameEvent& frameEvent)

  Replaces the event with the specified one.

Supported Platforms

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

### Frame Window

Use frame window members to query the frame window associated with this event.

frame

      public:
      IFrameWindow* frame() const

  Returns a pointer to the frame window receiving this event.

Supported Platforms

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

### IFrameEvent - 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( IWindow* window,
                unsigned long eventId,
                const IEventParameter1& parameter1,
                const IEventParameter2& parameter2 )

  -     IEvent( const IWindowHandle& handle,
                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