My question concerns using the void *callbackData parameter in the GUI-generated callback functions in CVI (6.0). I know how to assign the callbackData to certain controls (using SetCtrlAttribute(..., ..., ATTR_CALLBACK_DATA, ...) ...but is there a way to assign the callbackData to a certain FUNCTION? I have several controls on my panel that call the same function with the same callbackData. It would be nice if I could assign the callbackData to the function using one line of code, rather than the several lines of code I need to assign the callbackData to each and every control.
Is there a away to do this?
Thanks is advance,
--Marianne