Solved

Dialog boxes

Posted on 1998-07-14
4
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

691 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