DestroyWindow() not called when docked!



  • 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).


Log in to reply