Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    threaded UserArea redraw

    SDK Help
    0
    3
    275
    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 11/03/2005 at 06:51, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi,
      i have a Non-Modal Dialog with a UserArea which needs to be redrawn after a rather lengthy computation.  After the UserArea/Dialog is initialized, resized, interacted with by the user, etc... this computation starts and takes several second.  The computation runns in a seperate thread, so it doesn't block the gui.
      What is the prefered way of redrawing the UserArea, to show the results of the computation,  once it is done ?
      Polling with the timer message? Using a background handler? Calling the redraw function from the thread before it terminates ?
      best regards
      Michael

      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 11/03/2005 at 09:28, xxxxxxxx wrote:

        call the Redraw() function.

        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 14/03/2005 at 05:25, xxxxxxxx wrote:

          Ok.. why make it simple if you can make it the hard way...
          Thanks for your reply
          best regards
          Michael

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