Unique Dialog Window - how?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/09/2004 at 06:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Windows ;
Language(s) : C++ ;---------
Hello,how can I prevent my GeDialog from being opened severeal times?
I only want one Dialog Instance opened at a time...
Thx,
Lawn
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/09/2004 at 12:13, xxxxxxxx wrote:
Depends on how it is opened. If you explicitly call mydialog.Open() to open it, you can do a check to see if it is already opened:
if (!mydialog.IsOpen())
{
mydialog.Open(...);
} -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/09/2004 at 12:27, xxxxxxxx wrote:
Hm.. it is opened by the user... think this is not the solution i was looking for...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/09/2004 at 12:41, xxxxxxxx wrote:
But how is it opened by the user? Is there not a single call to Open() in your source? Not even PluginStart() or the plugin's Execute()? Since there is no dialog plugin type, it is not a direct call completely beyond your code's ability to check.
Source code would be very helpful to see how the dialog Open() gets called (and believe me it is done somewhere, even if not in your code).