Hi,
I have an MDI window, which has a number of forms within it. If one of these forms calls a common dialog (for example to search for a file), and then decides while the common dialog is open to switch Applications (e.g. to Windows Explorer etc) and then switches back, the focus is lost on the common dialog. The user must alt-tab to select the common dialog in order to be able to interact with it and restore focus to the MDI dialog that called it. Is there any way in which I can automatically restore focus to the common dialog if the user decides to switch to another application, and then switch back?
thanks
Yum.
I have an MDI window, which has a number of forms within it. If one of these forms calls a common dialog (for example to search for a file), and then decides while the common dialog is open to switch Applications (e.g. to Windows Explorer etc) and then switches back, the focus is lost on the common dialog. The user must alt-tab to select the common dialog in order to be able to interact with it and restore focus to the MDI dialog that called it. Is there any way in which I can automatically restore focus to the common dialog if the user decides to switch to another application, and then switch back?
thanks
Yum.