Determining current docking state

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/09/2009 at 03:36, xxxxxxxx wrote:

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

---------
Hi,

I have a command plugin with a non-modal dialog. Is there any way to determine whether the dialog is currently docked to the GUI? I've overridden CommandData::RestoreLayout() and the layout change gets perfectly remembered and restored when docked. But I'd like to e.g. close the dialog automatically but only if it's not docked to the GUI.

Thanks in advance,

-Andre

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/09/2009 at 06:14, xxxxxxxx wrote:

It's not possible to determine the docked state of a dialog.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/09/2009 at 06:55, xxxxxxxx wrote:

Ok, so at least can stop trying now 🙂

Thank's for clearing that up.