Hello,
I have a windows forms application (AppForm) which opens another form to
configure its settings (SettingsForm).
I also have a windows desktop manager application called VirtuaWin installed
on my computer. This program allowing to maintain multiple desktops. When the
active desktop is changed, it hides all windows in the current desktop and
then shows all windows that belong to the new one.
Here is the problem: if I open SettingsForm from the AppForm, then switch to
another desktop, and then switch back to my original desktop, then
SettingsForm disappears. In the debugger I see that the SettingsForm was
closed with DialogResult::Cancel result. By the way, this happens when the
SettingsForm is shown using ShowDialog() method. Show() method does not do
this.
Could anyone tell me why does the form close when its window is hidden and
how can I override this behavior?
Here is another message sent to this forum with a similar issue:
http://www.devnewsgroups.net/group/m...opic35042.aspx
I am using Microsoft Visual C++ .NET 2003 with Windows .NET framework 1.1
Please let me know if any additional information or details are needed.
Thanks,
Minas.