Thanks.
Robin Giltner
I am also doing the same and also tried the example from the help. I am not able to Show the Wait window.
Having said that , Does WaitWindow behave differently when you work in a MDI window?
That is the only difference from what I am doing.
Indira
No. The wait window will behave the same in this environment as it does on any other form. When you say that you are not able to show the Wait Window, are you receiving an exception? Try placing a button on a form and calling the ShowWaitWindow to see if it appears. If you are calling the WaitWindow on a separate thread then you will need to either invoke it on the main thread or ensure that it is called within the same thread in which you are working. That would be the only thing I could think of that would cause it not to show.
I sorted out the problem using BackGroundWorker component that is avaliable from .NET. I tried to use ThreadManager, but somehow I couldn't simulate the same way like BackgroundWoker component.
It seems we need a separate thread. We cannot display WaitWindow on the same thread.
Thanks
Raja