Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Internet Get Connected State Pin
MrMcIntyre20-Mar-10 6:49
MrMcIntyre20-Mar-10 6:49 
GeneralRe: Internet Get Connected State Pin
Iain Clarke, Warrior Programmer22-Mar-10 8:46
Iain Clarke, Warrior Programmer22-Mar-10 8:46 
AnswerRe: Internet Get Connected State Pin
Bram van Kampen18-Mar-10 15:23
Bram van Kampen18-Mar-10 15:23 
QuestionOpenGL w/SDL linker problem [modified] Pin
bala_4822518-Mar-10 8:47
bala_4822518-Mar-10 8:47 
AnswerRe: OpenGL w/SDL linker problem Pin
Moak18-Mar-10 10:56
Moak18-Mar-10 10:56 
GeneralRe: OpenGL w/SDL linker problem Pin
bala_4822518-Mar-10 16:26
bala_4822518-Mar-10 16:26 
QuestionA thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 8:36
bu7ch3r18-Mar-10 8:36 
AnswerRe: A thread that creates multiple dialogs Pin
Maximilien18-Mar-10 9:29
Maximilien18-Mar-10 9:29 
Do not create UI stuff (dialogs, controls, ...) from you secondary thread.

In you thread, you need to notify (for example using PostMessage) your main dialog to create the child dialogs.

read : http://www.flounder.com/workerthreads.htm[^]

excerpt :
"That's right. A worker thread must not touch a GUI object. This means that you should not query the state of a control, add something to a list box, set the state of a control, etc."
Watched code never compiles.

GeneralRe: A thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 9:36
bu7ch3r18-Mar-10 9:36 
GeneralRe: A thread that creates multiple dialogs Pin
Maximilien18-Mar-10 9:43
Maximilien18-Mar-10 9:43 
GeneralRe: A thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 9:50
bu7ch3r18-Mar-10 9:50 
AnswerRe: A thread that creates multiple dialogs Pin
Avi Berger18-Mar-10 9:35
Avi Berger18-Mar-10 9:35 
GeneralRe: A thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 9:40
bu7ch3r18-Mar-10 9:40 
GeneralRe: A thread that creates multiple dialogs Pin
Maximilien18-Mar-10 9:50
Maximilien18-Mar-10 9:50 
GeneralRe: A thread that creates multiple dialogs Pin
Avi Berger21-Mar-10 11:51
Avi Berger21-Mar-10 11:51 
AnswerRe: A thread that creates multiple dialogs Pin
Eugen Podsypalnikov18-Mar-10 9:45
Eugen Podsypalnikov18-Mar-10 9:45 
GeneralRe: A thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 9:52
bu7ch3r18-Mar-10 9:52 
GeneralRe: A thread that creates multiple dialogs Pin
Eugen Podsypalnikov18-Mar-10 9:57
Eugen Podsypalnikov18-Mar-10 9:57 
GeneralRe: A thread that creates multiple dialogs Pin
bu7ch3r18-Mar-10 9:59
bu7ch3r18-Mar-10 9:59 
QuestionHow Could I Use a define macro identifier in an other define macro replacement list? Pin
A&Ms18-Mar-10 4:08
A&Ms18-Mar-10 4:08 
AnswerRe: How Could I Use a define macro identifier in an other define macro replacement list? Pin
«_Superman_»18-Mar-10 4:21
professional«_Superman_»18-Mar-10 4:21 
GeneralRe: How Could I Use a define macro identifier in an other define macro replacement list? Pin
A&Ms18-Mar-10 4:39
A&Ms18-Mar-10 4:39 
AnswerRe: How Could I Use a define macro identifier in an other define macro replacement list? [modified] Pin
KarstenK18-Mar-10 5:03
mveKarstenK18-Mar-10 5:03 
General[typo] Re: How Could I Use a define macro identifier in an other define macro replacement list? Pin
Nuri Ismail18-Mar-10 5:52
Nuri Ismail18-Mar-10 5:52 
GeneralRe: [typo] Re: How Could I Use a define macro identifier in an other define macro replacement list? Pin
KingsGambit18-Mar-10 8:28
KingsGambit18-Mar-10 8: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.