Solved

Dialog boxes

Posted on 1998-07-14
4
238 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now