"George Aslanis" <[EMAIL PROTECTED]> wrote in message news:76079@palm-dev-forum... > > Hello, > > Are there any new tricks in CW8 which allow table draw callback functions to > be referenced from a class function instead of globally defining the > functions?
Make the table draw functions static members of your class, make a table that maps TableType pointers to class instances. Have the static member then convert the TableType* into a class object pointer and call your class function through that pointer. There is no way to get the OS to call a true C++ member function directly from a callback. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
