NBBASE is a sample program that demonstrates setting up a notebook control.