## Description

Include file: xnotebk.h

Parent class: XControl

### Overview

### Functions

#### GetBackgroundColor

#### Parameters

XColor * buffer buffer to hold the data

#### Remarks

Returns the background color.

#### SetBackgroundColor

#### Parameters

XColor * color the new color

#### Remarks

Set the background color.

#### SetMajorBackgroundColor

#### Parameters

XColor * theColor

#### Remarks

Set the background color of major tabs.

#### SetMajorForegroundColor

#### Parameters

XColor * theColor

#### Remarks

Set the foreground color of major tabs.

#### SetMinorBackgroundColor

#### Parameters

XColor * theColor

#### Remarks

Set the backgroundcolor of minor tabs.

#### SetMinorForegroundColor

#### Parameters

XColor * theColor

#### Remarks

Set the foreground color of minor tabs.

#### XNoteBook

#### Parameters

XWindow * owner | the owner-window
XRect * rect | size and position
USHORT id | ID of the window
ULONG style | style of the notebook, valid values are:
NB_BACKPAGESBR
NB_BACKPAGESBL
NB_BACKPAGESTR
NB_BACKPAGESTL
NB_MAJORTABRIGHT
NB_MAJORTABLEFT
NB_MAJORTABTOP
NB_MAJORTABBOTTOM
NB_SQUARETABS
NB_ROUNDEDTABS
NB_POLYGONTABS
NB_SOLIDBIND
NB_SPIRALBIND
NB_STATUSTEXTLEFT
NB_STATUSTEXTRIGHT
NB_STATUSTEXTCENTER
NB_TABTEXTLEFT
NB_TABTEXTRIGHT
NB_TABTEXTCENTER
NB_TABBEDDIALOG (Warp4 only)
(can be or-ed, default is NB_SOLIDBIND|NB_BACKPAGESBR|NB_SQUARETABS|NB_TABTEXTCENTER|NB_STATUSTEXTLEFT)
char * font | font to use, eg "8.Helv" (default is NULL)

#### Remarks

Create a notebook

#### GetPageCount

#### Return-Value

SHORT numberOfPages

#### Remarks

Returns the count of pages.

#### SetMajorTabSize

#### Parameters

SHORT width
SHORT hight

#### Remarks

Set the size of major tabs.

#### SetMinorTabSize

#### Parameters

SHORT width
SHORT hight

#### Remarks

Set the size of minor tabs.

This document was generated by Jens von Pilgrim's Autodoc