> You can store a pointer to the object itself in the list control. > That way, > you use that object pointer to call any member functions on it, and you > won't need any nasty casting operations.
Surely that isn't right? The object pointer would lose its type when set into the list so you WOULD have to cast it on extraction? (As I understand it, it also wouldn't solve the OP's problem - he needed to call many different methods from the same object, not the same method from many different objects.) -- Jason Teagle [EMAIL PROTECTED] _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
