11-15-2006 07:46 AM
11-15-2006 08:30 AM
What a cryptic message!
I suggest you look at the source code for CallPanelCallback in the Programmer's toolbox: this function does exactly what you want to do, calling a panel callback, and demostrates how to perform this action being available in source form.
11-15-2006 10:23 AM
11-16-2006 03:23 PM
"Surely you need to pass a pointer to the function pointer?"
Surely yes. I do I have to pass the function pointer by reference. The message I posted above made it seem like it wasn't expecting a pointer by reference though.
I have a new question... or a re-defined one anyway.
Is the function I have set in the UIR the same as the ATTR_CALLBACK_FUNCTION_POINTER?
if so, when does (if ever) the function I have in the UIR for the panel get set to to the CALLBACK attribute?
if not, how do I get a pointer to the panel function that was set in the UIR?
I'm trying to get the function pointer (panel callback function set in the UIR) after loading the panel, but before RunUserInterface()... when I do, the pointer has not yet been set. I can set it to some function and the get it back, but that doesn't solve what I'm trying to do.
Greg