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.
You can construct, destruct, copy, and assign objects of this class.
![]() |
public:
~IFrameEvent()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
IFrameEvent(const IFrameEvent& frameEvent)
Construct an IFrameEvent by copying the specified event.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
IFrameEvent& operator =(const IFrameEvent& frameEvent)
Replaces the event with the specified one.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use frame window members to query the frame window associated with this event.
![]() |
public:
IFrameWindow* frame() const
Returns a pointer to the frame window receiving this event.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
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