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?