Hi there,
I wanted to use the long data arg (2nd param) of the callback function as
pointer to a struct. This way, I could access struct members from within
the callback as
data->memberVar1 = ...
... data->memberVar2 + ...
On the online manual, it says the callback routine should have the form
void callback(FL_OBJECT *obj,long argument)
Is there an intended purpose other than my own for the 2nd arg of object
callback functions? Is it safe for me to use this long as a void*? Does
anyone have any suggestions as to how to pass a struct pointer into my
callback i.e. Motif's clientData?
Thanks in advance,
Mike
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/