I have created a modeless dialog in my MDI application. I want to use it when a certain long process is being run ("Please wait"
. If I make it modal, the user can't do anything else until the dialog is closed and I want them to have access to the menu bar to open another document or anything else. I also need the dialog to be "attached" to the specific document window that is performing the long process. So - I create the dialog and do ShowWindow and the dialog comes up. Great so far. Here's the problem. If I make the dialog a popup, it stays on top even if a new document is opened, and it also doesn't stay with the window that called it if you move or minimize the window. So I made it a child. This keeps it with its own window, which is perfect, only now the dialog doesn't have focus (I have a cancel button on it) and the controls from the window that called it show through on the dialog. What am I doing wrong? Any help you can give me will be great.
Ed
Ed