### ITabControlNotifyHandler

  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.

#### AIX Considerations

  This class is not supported in the AIX environment.

### ITabControlNotifyHandler - Member Functions and Data by Group

### Constructors & Destructor

Use these functions to construct and destruct objects of this class.

~ITabControlNotifyHandler

      public:
      virtual ~ITabControlNotifyHandler()

Supported Platforms

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

ITabControlNotifyHandler

      public:
      ITabControlNotifyHandler()

Supported Platforms

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

### Event Processing

This function evaluates the event to determine if it is appropriate for this handler object to process.

dispatchHandlerEvent

      protected:
      virtual bool dispatchHandlerEvent(IEvent& anEvent)

  If any of the following events are received, the tab control observers are notified:

  - A page is added to the tab control
  - A page is removed from the tab control
  - A button is added to the tab control
  - A button is removed from the tab control
  - A tab page is selected
  - The page background color is changed
  - The tab background color is changed

Supported Platforms

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

### ITabControlNotifyHandler - Inherited Member Functions and Data

#### Inherited Public Functions

  IHandler

  -     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)

  IWindowNotifyHandler

  -     virtual ~IWindowNotifyHandler()

  -     IWindowNotifyHandler()

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IHandler

  -     virtual IEventResult defaultProcedure(IEvent& event)

  -     virtual bool dispatchHandlerEvent(IEvent& event) = 0

  IWindowNotifyHandler

  -     virtual bool dispatchHandlerEvent(IEvent& event)

#### Inherited Protected Data

  - None