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?
jermAsked:
Who is Participating?
 
trestanConnect With a Mentor Commented:
Use messageBox.
0
 
trestanCommented:
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.
0
 
nietodCommented:
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.  
0
 
jermAuthor Commented:
Thank you again.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.