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

    Unique Dialog Window - how?

    SDK Help
    0
    4
    352
    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
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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(...);
        }

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

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

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