Modal dialog problem
-
Hi guys I want to do a Modal dialog that when do the oninitdialog, start a proces drawing a progress ctrl. But the problem is that the process starts but nothing is drawn. Any suggestion? Maybe a timer in oninitdialog that launches later the process and the progresCtrl? Best Regards Doc
-
Hi guys I want to do a Modal dialog that when do the oninitdialog, start a proces drawing a progress ctrl. But the problem is that the process starts but nothing is drawn. Any suggestion? Maybe a timer in oninitdialog that launches later the process and the progresCtrl? Best Regards Doc
doctorpi wrote: But the problem is that the process starts but nothing is drawn. You'll need to create another thread to do this work in. With only one message pump, it is too busy with the processing that paint messages are not being processed and the UI is nonresponsive. Read here.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
Hi guys I want to do a Modal dialog that when do the oninitdialog, start a proces drawing a progress ctrl. But the problem is that the process starts but nothing is drawn. Any suggestion? Maybe a timer in oninitdialog that launches later the process and the progresCtrl? Best Regards Doc
See the FAQ 4.3 I have a dialog that does some lengthy processing, and I need to have a Cancel button so the user can abort the processing. How do I get the Cancel button to work?[^] --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD