THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/03/2007 at 01:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R 10
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
I'm still struggling with my undos. I found this inside OperatingSystem.h:
Bool (*AddUndoHandler)(BaseDocument *doc, void *dat, LONG type);
This looks interesting. What is this intended for? There is nothing in the docs about this guy.
Is this a way to provide your own undo handler?
In that case what are you supposed to call it with?
What is dat supposed to look like?
I guess type is to be one of UNDO_CHANGE, UNDO_NEW etc.
Any ideas or tips would be very appreciated.
Thanks.
/Jonas