Link to home
Start Free TrialLog in
Avatar of jerm
jerm

asked on

Dialog boxes

I would like to create some dialog boxes which will display a message while a process is occurring, much like the file copy dialog box displayed while copying files through Windows Explorer.  Any suggestions as to how to do this?  Is there an example of how they do this in Windows Explorer?
ASKER CERTIFIED SOLUTION
Avatar of trestan
trestan
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can check online help to see if it is enough. Otherwise, you have to create your own dialog box. For copying files, a CProgressCtrl is used.
Avatar of nietod
nietod

A message box is modal and must be dismissed by the user (realistcally anyways). Thus you can't dispose fo the message box when the process finishes.  also, since it is modal, you can't perform the process in the same thread that displays the message box.

You should use a modeless dialog box.  
Avatar of jerm

ASKER

Thank you again.