2 Handling Edit Commands

2 Q3ViewerPaste

You can use the Q3ViewerPaste function to handle the Paste editing command when applied to data previously cut or copied from a viewer object.

OSErr Q3ViewerPaste (TQ3ViewerObject theViewer);
theViewer A viewer object.

DESCRIPTION


The Q3ViewerPaste function pastes 3D data from the Clipboard into the viewer object specified by the theViewer parameter. You should call Q3ViewerPaste when the user chooses the Paste command in your application's Edit menu (or types the appropriate keyboard equivalent) and the data on the Clipboard was placed there by a previous call to Q3ViewerCut or Q3ViewerCopy.

SEE ALSO


To determine whether the data on the Clipboard is 3D data or not, you can use the Q3ViewerGetState function (page 2-27).

DESCRIPTION
SEE ALSO

3D Graphics Programming with QuickDraw 3D - 16 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker