2 Creating and Configuring Viewers
Q3ViewerDraw
function to draw a viewer object.
OSErr Q3ViewerDraw (TQ3ViewerObject theViewer);
theViewer
A viewer object.
Q3ViewerDraw
function draws the viewer object specified by the theViewer
parameter. You need to call this function only if the viewer flags or other visible features of a viewer have changed. For example, to change a viewer's pane, you need to call Q3ViewerSetBounds
followed by Q3ViewerDraw
. Similarly, if the viewer flags of a new viewer object have the kQ3ViewerActive
flag clear, then to make the viewer object active you need to set that flag by calling Q3ViewerSetFlags
and then draw the viewer by calling Q3ViewerDraw
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker