Solved

Displaying Progress bar during lengthy operation.

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 52
conditional code and condition difference 9 84
only14 challenge 19 81
fix34  challenge 9 145
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…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

828 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