The zPane is the base window class that can produce
graphic output. To the base zWindow class, zPane adds several
numbers that form the basic of the protocol used to create
and maintain images.
The following line of code creates a pane window capable
of drawing text and graphics.
zPane *pane = new zPane (this, new zSizeWithParent, 0);
|
The arguments to the constructor for zPane:
-The parent for the pane, most often a frame window.
-A zSizer used to position the pane.
-The style attributes for pane. In this case 0 is passed,
indicating that the pane window is to have no border or
other special features. If this parameter is not passed,
it will default to 0.