| [aus-dotnet] WPF UI Thread |
- From: Stephen Price
- Subject: [aus-dotnet] WPF UI Thread
- Date: Tue, 24 Jul 2007 16:06:05 -0700
- Prev by Date: RE: [aus-dotnet] ASP.NET Profile Provider in Web Projects
- Next by Date: RE: [aus-dotnet] JavaScript editors that don't suck? [read: not V S or notepad]
- Previous by thread: RE: [aus-dotnet] JavaScript editors that don't suck? [read: not V S or notepad]
- Next by thread: RE: [aus-dotnet] WPF UI Thread
- Index(es):
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi all,
I've got a WPF problem I'm trying to work around.
I want to display a progress indicator, and have a control with a funky little animated thing on it, but the function I want to display the indicator during blocks the UI thread.
I tried putting an application.doevents() in after my indicator is called and it does show it but it doesnt animate. Dont have the code handy but the psudocode goes like;
displayProgress();
view.Print();
clearProgress();
with the result of the progress indicator being shown then cleared immediately so that you dont see it. (remove the clearProgress and it is shown after the print finishes.)
I think it's the way the view.Print is written... I tried it on its own thread but it seems to want objects in the UI (Its printing a listview).
thanks,
Stephen
(Click here for more information on the aus-dotnet mailling list)
