Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“ViewerCallbackSample.zip”, 38.1K)
Download Sample (“ViewerCallbackSample.dmg”, 97.1K)



Description

Prior to QuickDraw 3D 1.6 it was only possible to have a window with a grow box that resized the Viewer's dimensions and always fill the entire window. This was done by setting the Viewer's kQ3ViewerDrawGrowBox flag. Some applications still need a resizable window and a resizable Viewer but wish to resize them independently. A new flag kQ3ViewerPaneGrowBox has been added so the Viewer can be resized in it's own pane. Setting this flag draws a grow box inside the Viewer's control strip which accepts mouse clicks and resized the Viewer when the user click in it. This sample show the appearance of the Viewer with this new flag, and demonstrates how the new viewer callback mechanism works.

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.