Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: USB communication Pin
Cedric Moonen15-Feb-06 20:41
Cedric Moonen15-Feb-06 20:41 
QuestionCSingleLock doubt Pin
ledallam15-Feb-06 20:26
ledallam15-Feb-06 20:26 
AnswerRe: CSingleLock doubt Pin
kakan15-Feb-06 20:55
professionalkakan15-Feb-06 20:55 
AnswerRe: CSingleLock doubt Pin
Ryan Binns15-Feb-06 21:59
Ryan Binns15-Feb-06 21:59 
QuestionDialog Problem Pin
Aqueel15-Feb-06 20:17
Aqueel15-Feb-06 20:17 
AnswerRe: Dialog Problem Pin
Cedric Moonen15-Feb-06 20:44
Cedric Moonen15-Feb-06 20:44 
AnswerRe: Dialog Problem Pin
Michael Dunn15-Feb-06 20:54
sitebuilderMichael Dunn15-Feb-06 20:54 
AnswerRe: Dialog Problem Pin
Wim Engberts16-Feb-06 4:16
Wim Engberts16-Feb-06 4:16 
Probably the simplest way would be to run the routine that does your processing within the dialog box that says "Please wait......" After completion, the routine can close the dialog box (CDialog::OnOK () would do the job). This would also enable you to give the dialog a button that may interrupt the processing (set a flag on pressing that button that you check in your proces's loop). Also, it would be easy to add a progress bar in your dialog box.
If you need a lot of variables from your parent dialog, you can simply pass a pointer to the parent to you modal dialog.

Success.
William

-- modified at 11:41 Thursday 16th February, 2006
AnswerRe: Dialog Problem Pin
haian244216-Feb-06 14:26
haian244216-Feb-06 14:26 
Questionplease help me Pin
dSolariuM15-Feb-06 20:15
dSolariuM15-Feb-06 20:15 
AnswerRe: please help me Pin
haian244216-Feb-06 14:29
haian244216-Feb-06 14:29 
QuestionHow to process keyboard i/p Pin
RajeshHegde8xp15-Feb-06 19:59
RajeshHegde8xp15-Feb-06 19:59 
AnswerRe: How to process keyboard i/p Pin
Michael Dunn15-Feb-06 20:55
sitebuilderMichael Dunn15-Feb-06 20:55 
AnswerRe: How to process keyboard i/p Pin
ThatsAlok16-Feb-06 3:01
ThatsAlok16-Feb-06 3:01 
GeneralRe: How to process keyboard i/p Pin
RajeshHegde8xp19-Feb-06 18:36
RajeshHegde8xp19-Feb-06 18:36 
QuestionCan I write a drag-and-drop monitor? Pin
Jerry New15-Feb-06 19:59
Jerry New15-Feb-06 19:59 
Questionifstream question Pin
Rassul Yunussov15-Feb-06 18:34
Rassul Yunussov15-Feb-06 18:34 
AnswerRe: ifstream question Pin
mylzw15-Feb-06 19:52
mylzw15-Feb-06 19:52 
GeneralRe: ifstream question Pin
Rassul Yunussov15-Feb-06 20:49
Rassul Yunussov15-Feb-06 20:49 
GeneralRe: ifstream question Pin
mylzw15-Feb-06 22:07
mylzw15-Feb-06 22:07 
AnswerRe: ifstream question Pin
Aqueel15-Feb-06 19:59
Aqueel15-Feb-06 19:59 
GeneralRe: ifstream question Pin
kakan15-Feb-06 20:21
professionalkakan15-Feb-06 20:21 
QuestionIs there any way to get the object pointer through a pointer to its' member variable? Pin
followait15-Feb-06 15:52
followait15-Feb-06 15:52 
AnswerRe: Is there any way to get the object pointer through a pointer to its' member variable? Pin
Nick_Kisialiou15-Feb-06 16:10
Nick_Kisialiou15-Feb-06 16:10 
GeneralRe: Is there any way to get the object pointer through a pointer to its' member variable? Pin
followait15-Feb-06 17:19
followait15-Feb-06 17:19 

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.