Q3View_SetIdleMethod
You can use theQ3View_SetIdleMethodfunction to set a view's idle method.
TQ3Status Q3View_SetIdleMethod ( TQ3ViewObject view, TQ3ViewIdleMethod idleMethod, const void *idleData);
view- A view.
idleMethod- A pointer to an idle method.
idleData- A pointer to an application-defined block of data. This pointer is passed to the idle method when it is executed.
DESCRIPTION
TheQ3View_SetIdleMethodfunction sets the idle method of the view specified by theviewparameter to the function specified by theidleMethodparameter. TheidleDataparameter is passed to your callback routine whenever it is executed.