The IWindowNotifyHandler class is the base class for all window notification handlers.
Constructors & DestructorYou can construct and destruct objects of this class.
![]() |
public:
virtual ~IWindowNotifyHandler()
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
![]() |
public:
IWindowNotifyHandler()
Provides the default constructor.
Note:
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
Event DispatchingNotification handlers process events that are sent or posted to a window by calling observer objects interested in those events.
![]() |
protected:
virtual bool dispatchHandlerEvent(IEvent& event)
This function notifies the window observers when it receives any of the following events:
If you create a class derived from IWindowNotifyHandler, its dispatchHandlerEvent function should call IWindowNotifyHandler::dispatchHandlerEvent for events it does not process.
| Windows | OS/2 | AIX |
| Yes | Yes | Yes |
virtual ~IHandler()
virtual IString asDebugInfo() const
virtual IString asString() const
virtual IHandler& disable()
virtual IHandler& enable(bool enable = true)
virtual IHandler& handleEventsFor(IWindow* window)
IHandler()
bool isEnabled() const
virtual IHandler& stopHandlingEventsFor(IWindow* window)
virtual IEventResult defaultProcedure(IEvent& event)
virtual bool dispatchHandlerEvent(IEvent& event) = 0