Objects of the ITabControlNotifyHandler class process events for tab controls.
This class is designed to handle events that result in notifications being generated for ITabControl objects. If notifications are enabled for this class, a notification is generated and sent to all observers when the proper conditions for the specific notification exist. The Open Class Library constructs an instance of this handler class when notifications are enabled. You do not need to construct a handler derived from this class. Refer to the ITabControl class for the supported notification identifiers.
This class is not supported in the AIX environment.
Constructors & DestructorUse these functions to construct and destruct objects of this class.
![]() |
public:
virtual ~ITabControlNotifyHandler()
| Windows | OS/2 | AIX |
| Yes | Yes | No |
![]() |
public:
ITabControlNotifyHandler()
| Windows | OS/2 | AIX |
| Yes | Yes | No |
Event ProcessingThis function evaluates the event to determine if it is appropriate for this handler object to process.
![]() |
protected:
virtual bool dispatchHandlerEvent(IEvent& anEvent)
If any of the following events are received, the tab control observers are notified:
| 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 ~IWindowNotifyHandler()
IWindowNotifyHandler()
virtual IEventResult defaultProcedure(IEvent& event)
virtual bool dispatchHandlerEvent(IEvent& event) = 0