### INotebookDrawItemEvent

  The INotebookDrawItemEvent class provides event information for drawing a tab on a notebook page. This draw-item event is generated only if a notebook page has a tab that does not have text or a bitmap attached to it.

### INotebookDrawItemEvent - Member Functions and Data by Group

### Constructors & Destructor

Use these members to create objects of this class.

~INotebookDrawItemEvent

      public:
      virtual ~INotebookDrawItemEvent()

Supported Platforms

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

INotebookDrawItemEvent

      public:
      INotebookDrawItemEvent(IEvent& event)

  Constructs an object of this class from a reference to an object of the IEvent class.

Supported Platforms

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

### Page Information

Use these members to obtain information about the notebook page.

itemId

      public:
      virtual unsigned long itemId() const

  Returns an identifier for the page whose tab is to be drawn. INotebookDrawItemEvent::page uses this value to return an IPageHandle.

Supported Platforms

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

page

      public:
      virtual IPageHandle page() const

  Returns a handle to the page whose tab is to be drawn.

Supported Platforms

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

### INotebookDrawItemEvent - Inherited Member Functions and Data

#### Inherited Public Functions

  IControlEvent

  -     virtual ~IControlEvent()

  -     virtual unsigned long controlId() const

  -     IControlEvent(const IEvent& event)

  -     IControlEvent(const IControlEvent& event)

  IDrawItemEvent

  -     virtual ~IDrawItemEvent()

  -     IDrawItemEvent(const IEvent& event)

  -     virtual IPresSpaceHandle itemPresSpaceHandle() const

  -     virtual IRectangle itemRect() const

  IEvent

  -     virtual ~IEvent()

  -     IWindowHandle controlHandle() const

  -     virtual IWindow* controlWindow() const

  -     IEvent& decrementOwnerLevels()

  -     virtual IWindow* dispatchingWindow() const

  -     unsigned long eventId() const

  -     IWindowHandle handle() const

  -     IEvent(const IEvent& event)

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

  IDrawItemEvent

  -     void* ownerItemData() const

#### Inherited Protected Data

  - None