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

    Resizeable Modal Dialog can't be closed!

    Scheduled Pinned Locked Moved Bugs
    3 Posts 0 Posters 877 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 26/12/2010 at 15:01, xxxxxxxx wrote:

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

      ---------
      If I open a GeDialog-derived dialog asDLG_TYPE_MODAL_RESIZEABLE on MacOS X then there is no way to close the dialog from the OS GUI as the close and dock buttons are disabled.  There is then no way to close Cinema 4D and one must Force Quit from the Activity Monitor.  Is this expected behavior?

      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 29/12/2010 at 01:39, xxxxxxxx wrote:

        Originally posted by xxxxxxxx

        <ADDRESS>
        User Information:
        Cinema 4D

        Version:   R12 
        Platform:     
        Mac OSX  ; 
        Language(s) :    
        C++  ;

        ---------
        </ADDRESS> <font face="Arial, Helvetica, sans-serif" size="2">If I open a GeDialog-derived dialog as<code><span style="font-family: Verdana,Arial,Helvetica,sans-serif;"> </span>DLG_TYPE_MODAL_RESIZEABLE<font face="Arial, Helvetica, sans-serif" size="2"> on MacOS X then there is no way to close the dialog from the OS GUI as the close and dock buttons are disabled.  There is then no way to close Cinema 4D and one must Force Quit from the Activity Monitor.  Is this expected behavior?</code>

        This behaviour is intended. You have to add appropriate buttons (e.g. "ok, cancel") to the modal dialog, as there are different conventions for handling the close button (in the window title bar) in operating systems (on some the close button acts as cancel, on others as OK, ...).

        Best regards,

        Wilfried Behne

        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 29/12/2010 at 08:18, xxxxxxxx wrote:

          I've gone ahead and added a "Close" button to the dialog.  Thanks for the information, Wilfried! 🙂

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