Solved

Displaying Progress bar during lengthy operation.

Posted on 1997-11-04
2
237 Views
Last Modified: 2013-11-20
I am sure this is a simple task, but I've no clue how to implement it.  I have a lengthy operation in my application. During this time, I would like to popup a small window (kind of like the message window) and show the progress in it.  I also need a "Cancel" button on the window, so user can abort the operation midway.
In other words, it should behave similar to when I copy a lot of files in Explorer.  How do I do this?
0
Comment
Question by:Siva_Narayan
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 20 total points
ID: 1309384
There is an article in Microsoft Systems Journal February 1997 Vol 12 No 2 Wicked Code. It implements a dialog box that is exactly what you want. You can download the source code (waitdlg) at http://www.microsoft.com/msj.

0
 

Author Comment

by:Siva_Narayan
ID: 1309385
Thanks a lot.  That is exactly what I wanted.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

13 Experts available now in Live!

Get 1:1 Help Now