Click here to Skip to main content
15,920,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Support for old versions of MFC Pin
Ravi Bhavnani23-Aug-05 14:04
professionalRavi Bhavnani23-Aug-05 14:04 
GeneralUSB question Pin
Tom Wright23-Aug-05 11:19
Tom Wright23-Aug-05 11:19 
GeneralRe: USB question Pin
Alexander M.,23-Aug-05 15:04
Alexander M.,23-Aug-05 15:04 
Generaldouble click on MainFrame Caption Pin
llapanowski23-Aug-05 10:11
llapanowski23-Aug-05 10:11 
GeneralRe: double click on MainFrame Caption Pin
Maximilien23-Aug-05 10:23
Maximilien23-Aug-05 10:23 
GeneralRe: double click on MainFrame Caption Pin
David Crow23-Aug-05 10:27
David Crow23-Aug-05 10:27 
GeneralRe: double click on MainFrame Caption Pin
Ravi Bhavnani23-Aug-05 14:08
professionalRavi Bhavnani23-Aug-05 14:08 
GeneralQ: updating a dialog from within a loop Pin
maladuk23-Aug-05 10:10
maladuk23-Aug-05 10:10 
Hello!

I have an optimization program that repeats simulations in a loop. It is quite time consuming, and therefore I display a dialog that shows the number of simulations that are left. In each iteration I call a member function in the dialog class that decrements the number of simulations left and updates the dialog. This works well as long as the dialog is on top but as soon as another window covers it the updating stops. Bringing it back on top does not restart the updating either. I have tried to put all the obvious calls in the updating function, like: Invalidate(), Redraw(), UpdateWindow(), ShowWindow(), etc. but I can not make it work. How do I do this?

Thank's in advance!



maladuk
GeneralRe: Q: updating a dialog from within a loop Pin
David Crow23-Aug-05 10:30
David Crow23-Aug-05 10:30 
GeneralRe: Q: updating a dialog from within a loop Pin
Chris Losinger23-Aug-05 10:45
professionalChris Losinger23-Aug-05 10:45 
GeneralRe: Q: updating a dialog from within a loop Pin
Ravi Bhavnani23-Aug-05 14:09
professionalRavi Bhavnani23-Aug-05 14:09 
GeneralVSS has me concerned.... Pin
charlieg23-Aug-05 9:09
charlieg23-Aug-05 9:09 
GeneralRe: VSS has me concerned.... Pin
Maximilien23-Aug-05 10:32
Maximilien23-Aug-05 10:32 
GeneralRe: VSS has me concerned.... Pin
charlieg23-Aug-05 10:42
charlieg23-Aug-05 10:42 
GeneralRe: VSS has me concerned.... Pin
Taka Muraoka23-Aug-05 16:00
Taka Muraoka23-Aug-05 16:00 
GeneralRe: VSS has me concerned.... Pin
Peter Weyzen23-Aug-05 11:15
Peter Weyzen23-Aug-05 11:15 
GeneralRe: VSS has me concerned.... Pin
Graham Bradshaw23-Aug-05 13:12
Graham Bradshaw23-Aug-05 13:12 
GeneralRe: VSS has me concerned.... Pin
charlieg23-Aug-05 14:13
charlieg23-Aug-05 14:13 
GeneralRe: VSS has me concerned.... Pin
charlieg23-Aug-05 16:34
charlieg23-Aug-05 16:34 
Generaldisplay images Pin
Aditya Rao23-Aug-05 7:41
Aditya Rao23-Aug-05 7:41 
QuestionHow to write Z-Order manager? Pin
dy1323-Aug-05 6:47
dy1323-Aug-05 6:47 
AnswerRe: How to write Z-Order manager? Pin
Alexander M.,23-Aug-05 15:07
Alexander M.,23-Aug-05 15:07 
GeneralSending keys to another program / SendInput() Pin
al_in_the_city23-Aug-05 6:38
al_in_the_city23-Aug-05 6:38 
GeneralRe: Sending keys to another program / SendInput() Pin
David Crow23-Aug-05 6:55
David Crow23-Aug-05 6:55 
GeneralRe: Sending keys to another program / SendInput() Pin
al_in_the_city23-Aug-05 8:59
al_in_the_city23-Aug-05 8:59 

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.