threaded UserArea redraw
-
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 -
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.
-
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