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

C / C++ / MFC

 
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 
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 
QuestionCommunication between PCs over a wireless network Pin
Member 184003918-Mar-10 2:53
Member 184003918-Mar-10 2:53 
AnswerRe: Communication between PCs over a wireless network Pin
Moak18-Mar-10 2:59
Moak18-Mar-10 2:59 
QuestionHow to check if a HWND is static icon ctrl? Pin
sashoalm18-Mar-10 2:46
sashoalm18-Mar-10 2:46 
AnswerRe: How to check if a HWND is static icon ctrl? PinPopular
Chris Losinger18-Mar-10 3:05
professionalChris Losinger18-Mar-10 3:05 

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.