You install the callback with that function. For example,
CWUIControlsLib__DCWGraphEventsRegOnCursorChange (hCWGraph,
CursorChangeCB,
NULL, 1,
NULL);
Then you have to write the callback function. It tells you how to do that in the help for the event functions. Your event callback function will look something like:
HRESULT CVICALLBACK Callback (CAObjHandle caServerObjHandle,
void *caCallbackData,
long *cursorIndex,
VARIANT *XPos,
VARIANT *YPos,
VBOO
L *bTracking)
{
//Your code here
return 0;
}
Best Regards,
Chris Matthews
National Instruments