<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=979305317-21112005><FONT face=Arial size=2>This is probably
more a WPF question rather than IronPython, but here goes...</FONT></SPAN></DIV>
<DIV><SPAN class=979305317-21112005><FONT face=Arial size=2>I'm using WPF to do
some drawing from IP and it only updates when the IP thread is idle (waiting for
an input). What I'd like to do is be able to set some interface elements
(like a textblock) with text indicating the progress along a fairly involved
activity. While I can set the text from within IP, it only shows the results
when the entire activity is done, and the IP prompt is idle.</FONT></SPAN></DIV>
<DIV><SPAN class=979305317-21112005><FONT face=Arial size=2>While I have had
some limited success in spawning a second thread and processing activity there
and calling back into the Application.Dispatcher to change the interface
elements, this makes the programming model MUCH more complicated for the
activities that I'm trying to get done. Is there a relatively simple
solution? Perhaps an 'update' call that I can make this will make sure
that the WPF interface is up-to-date? Or a different priority level on which to
be calling the IP main thread?</FONT></SPAN></DIV>
<DIV><SPAN class=979305317-21112005><FONT face=Arial
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=979305317-21112005><FONT face=Arial
size=2>--S</FONT></SPAN></DIV>
<DIV><SPAN class=979305317-21112005><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>