Click here to Skip to main content
15,921,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internet Get Connected State Pin
Iain Clarke, Warrior Programmer18-Mar-10 10:08
Iain Clarke, Warrior Programmer18-Mar-10 10:08 
GeneralRe: Internet Get Connected State Pin
MrMcIntyre18-Mar-10 10:11
MrMcIntyre18-Mar-10 10:11 
GeneralRe: Internet Get Connected State Pin
Iain Clarke, Warrior Programmer18-Mar-10 10:21
Iain Clarke, Warrior Programmer18-Mar-10 10:21 
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 
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 
I don't think this will work as you are creating them as part of the second (temporary?) thread when you want them to be part of the main GUI thread.

Instead, since these dialogs start out hidden, why not defer their creation. Set up a wrapper to create them on first display. This distributes the work so that you don't take the full hit all at once and it should be less noticeable.

You could also set up something to create them one at a time in CWinApp::OnIdle(), though you will need to make sure they are not used until created. You could combine this with the create on first demand scheme if you want.
Please do not read this signature.

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 

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.