Solved

Dialog boxes

Posted on 1998-07-14
4
241 Views
Last Modified: 2010-04-01
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?
0
Comment
Question by:jerm
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 20 total points
ID: 1167736
Use messageBox.
0
 
LVL 8

Expert Comment

by:trestan
ID: 1167737
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
 
LVL 22

Expert Comment

by:nietod
ID: 1167738
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
 

Author Comment

by:jerm
ID: 1167739
Thank you again.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question