Old notebook control window styles can be set with a notebook is created.
The following styles can be set when creating a notebook control window.
If no styles are specified, defaults, which are identified in the following
descriptions, are used.
- Specify one of the following to determine whether
the control is a a solid bound or spiral bound notebook:
BKS_SOLIDBIND
Paints a solid binding on the notebook.
This is the default.
BKS_SPIRALBIND
Paints
a spiral binding on the notebook.
Specify
one of the following to determine where the back pages are positioned:
BKS_BACKPAGESBR
Paints back pages on the notebook's
bottom and right sides. This is the default.
BKS_BACKPAGESBL
Paints back pages on the notebook's bottom and left
sides.
BKS_BACKPAGESTR
Paints
back pages on the notebook's top and right sides.
BKS_BACKPAGESTL
Paints back pages on the notebook's top and left
sides.
Specify
one of the following to determine the side of the notebook on which the
major tabs are positioned. Valid combinations with back pages styles are
noted in each definition.
BKS_MAJORTABRIGHT
Places major tabs on the notebook's
right edge. Only valid in combination with BKS_BACKPAGESBR or BKS_BACKPAGESTR.
This is the default when either of these back pages styles is used.
BKS_MAJORTABLEFT
Places major tabs on the notebook's left edge. Only
valid in combination with BKS_BACKPAGESBL or BKS_BACKPAGESTL. This is the
default when BKS_BACKPAGESTL is used.
BKS_MAJORTABTOP
Places major tabs on the notebook's top edge. Only
valid in combination with BKS_BACKPAGESTR or BKS_BACKPAGESTL.
BKS_MAJORTABBOTTOM
Places major tabs on the notebook's bottom edge.
Only valid in combination with BKS_BACKPAGESBR or BKS_BACKPAGESBL. This
is the default when BKS_BACKPAGESBL is used.
Specify
one of the following to set the shape of the notebook tabs:
BKS_SQUARETABS
Draws tabs with square edges. This
is the default.
BKS_ROUNDEDTABS
Draws tabs with rounded edges.
BKS_POLYGONTABS
Draws tabs with polygon edges.
Specify
one of the following to position the status line text:
BKS_STATUSTEXTLEFT
Left-justifies status line text.
This is the default.
BKS_STATUSTEXTRIGHT
Right-justifies status
line text.
BKS_STATUSTEXTCENTER
Centers status line text.
Specify
one of the following to position the tab text:
BKS_TABTEXTCENTER
Centers tab text. This is the
default.
BKS_TABTEXTLEFT
BKS_TABTEXTRIGHT
Right-justifies tab text.
The following
styles are not valid with an old notebook:
BKS_TABBEDDIALOG
Indicates a new style notebook.
BKS_BUTTONAREA
Creates a common button area
in a new style notebook. This style uses the same area as BKS_POLYGONTABS,
and will cause unexpected results if used in an old notebook.
[Back]
[Next]