I need to implement something like this:
when user press a button, a new process will start. The process takes about a minute to finish, and all the control of my application must be disable.
I want to make a semi-transparent layer overlapping all dialog's control, and it contains an animation (waiting animation).
The key point is that it prevent user from and interact with dialog's control, and showing the images (or animation)
How to do that?
I tried drawing a semi-transparent PNG in OnPaint() of the dialog, but it is drawn as background. I wonder if there is anyway that i can control the order in which dialog's controls are drawn, so that i can draw PNG last, over others?