Solved

Displaying Progress bar during lengthy operation.

Posted on 1997-11-04
2
235 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 124
maxBlock challenge 30 111
if loop in java 3 129
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 192
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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

16 Experts available now in Live!

Get 1:1 Help Now