Hi, I'm writing a multithreaded application that uses 2 threads: 1 for the form
and another to process some data. Before the processing thread starts, I
modify the interface to reflect its busy state. However, when I finish the
processing I can't undo the changes because 'Controls created on one thread
can't be parented on a different thread.' Does anyone know how I'd call my
finishing method on the UI thread, or get around this problem. Help would be
apreciated.
Reuben.
Re: Every minute spent on infrastructure programming is a wasted minute ... I've worked at places that insisted that "code is glue" and no infrastructure code ought to be written, and I've worked at other places that insisted that all the infrastructure be written in house. ... Some places seem biased in favor of writing their own infrastructure because they have succumbed to the "not invented here" syndrome where they don't trust any code they themselves have not written. ... Low level code is unlikely to be rewritten or replaced, but higher up functionality should be considered for replacement. ... I'm nearly done writing my OPF, including 'OPF aware' controls that I've implemented based on the TNT controls for unicode support. ... (borland.public.delphi.non-technical)
Re: IPostBackDataHandler.LoadPostData ... When you are writing out the postable tag, what id and name attribute are ...UserControl implements INamingContainer which will ensure all controls have ... It doesnt work on the user control. ... (microsoft.public.dotnet.framework.aspnet)
If all becomes Managed, Why C++? ... It still has not resolved some questions that I am wrestling with. ... It seems from everything I read that writing to native code ... independent of the .Net framework will soon be impossible. ... sites for writing simple C++ Windows interface programs (with a form/window, ... (microsoft.public.dotnet.languages.vc)
RE: DataBinding problem ... this method will force the controls... I think it would be better to modify the underlying datasource ...DataRowView object for the current row. ... before sending mail.... (microsoft.public.dotnet.framework.windowsforms)
Re: Accesing form controls from another class than the one tha created them ... I have a form with some controls, and a different class that needs to ...modify some control properties at run time. ... Public Property MyLabelTextAs String... If instead you gave them a complete reference to the label, ... (microsoft.public.dotnet.languages.vb)