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

    DestroyWindow() not called when docked!

    Scheduled Pinned Locked Moved Bugs
    1 Posts 0 Posters 408 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 24/11/2008 at 12:44, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R11 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      SDK Bug: In Cinema 4D R11, MacOS X only, if my plugin dialog is docked in the interface when closing C4D then DestroyWindow() is never called. Undocked, called. Dialog closed itself, called (docked or not). Note: same with BFM_DESTROY in Message().

      I use DestroyWindow() to store state information (recent stuff, automatic setting storage) to disk as it is better than storing it for every change while in use. Works in Windows and other versions of C4D on MacOS. This is only exhibited in R11 on MacOS (32 and 64-bit).

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