AddUndoHandler

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

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/03/2007 at 02:07, xxxxxxxx wrote:

I asked the developers. I will let you know when I found out more about it. Unfortunatly it's not documented.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/03/2007 at 02:29, xxxxxxxx wrote:

Ok thanks alot Matthias.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/03/2007 at 03:36, xxxxxxxx wrote:

it's a private function

cheers,
Matthias