Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    AddUndoHandler

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 332 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post