Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scaling Fonts, Zooming. Pin
Tomasz Sowinski30-Jul-01 9:55
Tomasz Sowinski30-Jul-01 9:55 
GeneralRe: Scaling Fonts, Zooming. Pin
Mike Doner31-Jul-01 5:02
Mike Doner31-Jul-01 5:02 
GeneralRe: Scaling Fonts, Zooming. Pin
Tomasz Sowinski31-Jul-01 6:32
Tomasz Sowinski31-Jul-01 6:32 
GeneralRe: Scaling Fonts, Zooming. Pin
AndyC30-Jul-01 12:51
AndyC30-Jul-01 12:51 
GeneralRe: Scaling Fonts, Zooming. Pin
Mike Doner31-Jul-01 5:06
Mike Doner31-Jul-01 5:06 
Generalkeeping my selections in listbox Pin
Ananya Sen Gupta30-Jul-01 8:14
Ananya Sen Gupta30-Jul-01 8:14 
GeneralRe: keeping my selections in listbox Pin
Tomasz Sowinski30-Jul-01 10:03
Tomasz Sowinski30-Jul-01 10:03 
GeneralMFC modal "wait" dialog Pin
flurinator30-Jul-01 8:02
flurinator30-Jul-01 8:02 
Ok,
I'm rather new to this, so I'm stumped... but I don't think it should be too hard...
I have a window-based app with buttons. When certain buttons are clicked, lenghty processes are started. I want a modal dialog box to display with a message like "Wait..." (or perhaps a progress bar) when the button is clicked and then be undisplayed when the process is finished. It's important that mouseclicks on the main window's buttons are ignored when the process is underway (that's why I want the dialog to be modal).
This seems like it should be simple, but I don't understand how I can call DoModal(), get the window displayed, get the process started, wait for the process to finish, and then do an EndDialog()... this must be a pretty common task, but I don't see how to use the CDialog framework (or derivation of it) to get the job done.

thanks! any help is appreciated!

m-flury@northwestern.edu
GeneralRe: MFC modal Pin
Tomasz Sowinski30-Jul-01 9:36
Tomasz Sowinski30-Jul-01 9:36 
GeneralRe: MFC modal Pin
Matt Gullett30-Jul-01 18:01
Matt Gullett30-Jul-01 18:01 
GeneralI need some help with some errors... Pin
30-Jul-01 7:54
suss30-Jul-01 7:54 
GeneralRe: I need some help with some errors... Pin
Tomasz Sowinski30-Jul-01 9:38
Tomasz Sowinski30-Jul-01 9:38 
GeneralRe: I need some help with some errors... Pin
30-Jul-01 16:15
suss30-Jul-01 16:15 
GeneralRe: I need some help with some errors... Pin
Christian Graus30-Jul-01 16:31
protectorChristian Graus30-Jul-01 16:31 
GeneralRe: I need some help with some errors... Pin
Matt Gullett30-Jul-01 17:52
Matt Gullett30-Jul-01 17:52 
GeneralRe: I need some help with some errors... Pin
31-Jul-01 10:50
suss31-Jul-01 10:50 
GeneralRe: I need some help with some errors... Pin
Matt Gullett31-Jul-01 13:31
Matt Gullett31-Jul-01 13:31 
GeneralRe: I need some help with some errors... Pin
Matt Gullett31-Jul-01 13:33
Matt Gullett31-Jul-01 13:33 
QuestionWhen is m_wndToolBar initially sized inplace? Pin
Kristian Nilssen30-Jul-01 7:50
Kristian Nilssen30-Jul-01 7:50 
GeneralRemove icon from taskbar Pin
Sreejumon30-Jul-01 7:15
Sreejumon30-Jul-01 7:15 
GeneralRe: Remove icon from taskbar Pin
Tomasz Sowinski30-Jul-01 7:26
Tomasz Sowinski30-Jul-01 7:26 
GeneralRe: Remove icon from taskbar Pin
Sreejumon30-Jul-01 7:33
Sreejumon30-Jul-01 7:33 
GeneralRe: Remove icon from taskbar Pin
Tomasz Sowinski30-Jul-01 7:38
Tomasz Sowinski30-Jul-01 7:38 
GeneralRe: Remove icon from taskbar Pin
Sreejumon30-Jul-01 8:05
Sreejumon30-Jul-01 8:05 
GeneralRe: Remove icon from taskbar Pin
Tomasz Sowinski30-Jul-01 8:36
Tomasz Sowinski30-Jul-01 8:36 

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.