THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/11/2005 at 16:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform:
Language(s) : C++ ;
---------
Hi,
I have a dialog that adds new items to the active BaseDocuments basecontainer.
I would like to support an Undo feature, but im not sure how to make it work in this case. My assumption is this.
doc->StartUndo();
doc->AddUndo(UNDO_CHANGE_SMALL,doc);
CallFunctionToChangeBaseContainer()
doc->EndUndo();
EventAdd();
but this doesn't seem to work