Resizeable Modal Dialog can't be closed!
-
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?
-
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 4DVersion: 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
-
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!