Click here to Skip to main content
15,924,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Adding BigInt's Pin
josda100010-Jul-09 9:57
josda100010-Jul-09 9:57 
Question"Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 8:00
james_bond10-Jul-09 8:00 
AnswerRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 8:33
josda100010-Jul-09 8:33 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 10:56
james_bond10-Jul-09 10:56 
AnswerRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 11:07
josda100010-Jul-09 11:07 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
james_bond10-Jul-09 14:05
james_bond10-Jul-09 14:05 
GeneralRe: "Debug Assert Error" in VC++.NET Pin
josda100010-Jul-09 16:02
josda100010-Jul-09 16:02 
AnswerRe: "Debug Assert Error" in VC++.NET Pin
Stuart Dootson10-Jul-09 8:35
professionalStuart Dootson10-Jul-09 8:35 
You don't want to manipulate UI from a worker thread. You can post windows messages safely enough, but calling control methods will, at best, send a message rather than posting it, which isn't a good idea, believe me.

Try posting an app-specific message to the UI threads queue using PostThreadMessage. Respond to that message in the UI by redrawing the UI.

Also, you probably want to tell the worker to stop before terminating and wait for it to do so.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionRelease Mode issue Pin
dipuks10-Jul-09 7:30
dipuks10-Jul-09 7:30 
AnswerRe: Release Mode issue Pin
Stuart Dootson10-Jul-09 8:31
professionalStuart Dootson10-Jul-09 8:31 
AnswerRe: Release Mode issue Pin
Cyrilix10-Jul-09 11:29
Cyrilix10-Jul-09 11:29 
QuestionCD Drive functions Pin
dipuks10-Jul-09 7:27
dipuks10-Jul-09 7:27 
AnswerRe: CD Drive functions Pin
David Crow10-Jul-09 8:00
David Crow10-Jul-09 8:00 
Questiondefault parameters - functions Pin
john john mackey10-Jul-09 6:41
john john mackey10-Jul-09 6:41 
AnswerRe: default parameters - functions Pin
krmed10-Jul-09 7:01
krmed10-Jul-09 7:01 
GeneralRe: default parameters - functions Pin
john john mackey10-Jul-09 7:34
john john mackey10-Jul-09 7:34 
GeneralRe: default parameters - functions Pin
David Crow10-Jul-09 8:02
David Crow10-Jul-09 8:02 
AnswerRe: default parameters - functions Pin
josda100010-Jul-09 8:05
josda100010-Jul-09 8:05 
GeneralRe: default parameters - functions Pin
John R. Shaw10-Jul-09 8:09
John R. Shaw10-Jul-09 8:09 
GeneralRe: default parameters - functions Pin
rew´RaZiel17-Jul-09 21:40
rew´RaZiel17-Jul-09 21:40 
QuestionCreate 16 bit process under 32bit using CreateProcess Pin
RoryODonnell10-Jul-09 4:41
RoryODonnell10-Jul-09 4:41 
Questioncrashed ( i CSimpleStringT ) when new control are added to dialog Pin
Bilge Kaan10-Jul-09 4:02
Bilge Kaan10-Jul-09 4:02 
QuestionRe: crashed ( i CSimpleStringT ) when new control are added to dialog Pin
David Crow10-Jul-09 4:33
David Crow10-Jul-09 4:33 
AnswerRe: crashed ( i CSimpleStringT ) when new control are added to dialog Pin
Bilge Kaan10-Jul-09 5:04
Bilge Kaan10-Jul-09 5:04 
QuestionRe: crashed ( i CSimpleStringT ) when new control are added to dialog Pin
David Crow10-Jul-09 5:28
David Crow10-Jul-09 5:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.