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

    Display message to user..

    SDK Help
    0
    4
    291
    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

      On 19/05/2014 at 14:04, xxxxxxxx wrote:

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

      ---------
      Hi - this is C++ or Python really:

      Is it possible to create a message/popup/alert that does not have any OK or CANCEL buttons etc?

      I am aware of gui.MessageDialogue but there`s no way to not include the buttons and allow the plugin to decide when it goes away..

      The only other thing i can think of is using a GeDialog class with some String text in it.  But this seems cumbersome for what it is..

      Basically the idea is, plugin starts, displays a message asking the user to wait while it does some stuff, then message disappears when work is done.  Doesn`t seem like much to ask?

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

        On 19/05/2014 at 15:03, xxxxxxxx wrote:

        Imho that's a rather "custom" task. A GeDialog is the way to go. Note that a GeDialog can not
        be opened on Application Startup.

        -NIklas

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

          On 19/05/2014 at 15:21, xxxxxxxx wrote:

          Thanks yeah i guess it will have to be.  It`ll just be fired when a commanddata plugin is executed so no worries.

          Thanks Niklas.

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

            On 19/05/2014 at 16:28, xxxxxxxx wrote:

            If what you're doing is time intensive, think about moving it to a separate thread, if that is possible 
            (ie. you're not doing modifications to the current scene or things that require to be process in the
            main thread).

            This would keep Cinema responsive during the processing.

            Best,
            -Niklas

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