Home page  
Help >
ddlTrackerCallback() - post tracker callback
Version 7.11
ddlTrackerCallback() - post tracker callback
ddlTrackerCallback() - post tracker callback

Prototype:
   void ddlTrackerCallback(
      CONTROL *ctl,
      WtCastPtr UserWord; 
      void (*UserTracker)());

Description:
Posts a callback to perform tracker operation.

ddlTrackerCallback(ctl,UserWord,0) results in tracker callback being turned off.

Currently used by:

Callback Description:
The prototype for the tracker callback is:

void __stdcall UserTracker(
   WtCastPtr UserWord,      /* [IN] From ddlTrackerCallback() */
   WtInt32 indicator,       /* [IN] 1: initialize; 0: track; -1: terminate */
   WtChar8 *msg,            /* [IN] null-terminated message when indicator == 0 */
   WtInt32 top,             /* [IN] top of tracker fraction */
   WtInt32 bottom);         /* [IN] bottom of tracker fraction */

Values returned in Control Structure:
Control.Ans1 NA
Control.Ans2 Previous Tracker Callback pointer cast as (WtInt32)
Control.Ans3 Previous Tracker Callback UserWord cast as (WtInt32)
Control.Ans2L Previous Tracker Callback pointer cast as (WtLong64)
Control.Ans3L Previous Tracker Callback UserWord cast as (WtLong64)

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.