// JP opened flex table

Click to See Complete Forum and Search --> : Activating a CButton from a worker thread


Rob McVicar
April 2nd, 2004, 11:02 AM
Hey all,

I've beenbanging my head against a wall about this one. My program is getting data serially via a worker thread, so the GUI is live, but if I have not received data for one of the many pages I have in my app and it is trying to be accessed, the boss wants me to display a Please Wait screen (not an AfxMessageBox or popup dialog, but display a propsheet continaing a bitmap).

Once the data is received by the system, I need to access the OnButtonClicked code to display the proper propsheet to display the data. How would I do this from the worker thread?

Also since my data acquisition is done serially, and I try to access a group of data far down on my pre-prioritized list of stuff to get in the worker thread, should I suspend the current worker thread, spawn another worker thread to get that specific data, and once this is done, resume the first worker thread?

Thanks.

Rob McV
/***************************************/
I'm somewhere on the edge and slipping off!!!

//JP added flex table