Reacting to User Interface events in Visual Studio during a processing loop -


I am developing C ++ in Visual Studio, in all managed code. I have a tight processing loop, which can theoretically run for about 30 seconds. During that time, I want the UI to be responsive to any user activity, such as by pressing the "stop" button, or clicking on a scroll bar.

I know that the technique is peeking on UI qi (in a non-blocking way) and then, if there is something, the reaction to it, but it is disappointing, because I broke it before the problem, But it was almost 4 years ago and I no longer have the code base for reference. / P>

Can anyone help me?

Thank you in advance

You need to process in the background thread. For example check the class.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -