Defined Types



TQ3ViewerDrawCallbackMethod


typedef Q3_CALLBACK_API_C (TQ3Status, TQ3ViewerDrawCallbackMethod) (
    TQ3ViewerObject theViewer,
    const void *userData
);

Discussion

Callback which is invoked by the viewer after it draws any part of itself, including the control strip.

Parameter Descriptions
theViewer
Viewer object.
userData
User supplied data parameter.
function result
Success or failure of the callback.

TQ3ViewerDrawingCallbackMethod


typedef Q3_CALLBACK_API_C (OSErr, TQ3ViewerDrawingCallbackMethod) (
    TQ3ViewerObject theViewer,
    const void *userData
);

Discussion

Callback which is invoked by the viewer after it draws any part of itself, including the control strip.

Parameter Descriptions
theViewer
Viewer object.
userData
User supplied data parameter.
function result
Success or failure of the callback.

TQ3ViewerDrawingCallbackMethod


typedef TQ3ViewerDrawCallbackMethod TQ3ViewerDrawingCallbackMethod;
Discussion

Callback which is invoked by the viewer after it draws any part of itself, including the control strip.

Parameter Descriptions
theViewer
Viewer object.
userData
User supplied data parameter.
function result
Success or failure of the callback.

TQ3ViewerPaneResizeNotifyCallbackMethod


typedef Q3_CALLBACK_API_C (TQ3Status, TQ3ViewerPaneResizeNotifyCallbackMethod) (
    TQ3ViewerObject theViewer,
    const void *userData
);

Discussion

Callback which is invoked by the viewer when its window is resized.

Parameter Descriptions
theViewer
Viewer object.
userData
User supplied data parameter.
function result
Success or failure of the callback.

TQ3ViewerWindowResizeCallbackMethod


typedef Q3_CALLBACK_API_C (TQ3Status, TQ3ViewerWindowResizeCallbackMethod) (
    TQ3ViewerObject theViewer,
    const void *userData
);

Discussion

Callback which is invoked by the viewer when the user clicks and drags in the resize region for its window. By default, the viewer will handle this operation and resize the window, however this callback can be used to override this behaviour.

The callback should handle all mouse tracking, resizing, and invalidating of the viewer window.

Parameter Descriptions
theViewer
Viewer object.
userData
User supplied data parameter.
function result
Success or failure of the callback.

© 1999-2008 Quesa Developers (Last Updated 5/10/2008)