G
Guest
I am using the no-arg ShowDialog() method hoping that the window would not be
modal to any other window like the other ShowDialog(IWin32Window) method
does, but when this opens it somehow becomes modal to my main window- even
though I don't see how it could even be getting a reference to my main window.
What I need is to open a new window but still have my main window available
for interaction- the way it opens now it forces focus on this new window....
The last time I tried using just the Show() method it wound up just opening
the window for a split second before it vanishes away- and I wans;t doing
anything with the DialogResult variable.
nothing fancy here... just goes something like this:
on request:
MyDialog dialog = new MyDialog();
dialog.ShowDialog();
(dialog opens but becomes modal to the window that opened it, despite not
passing in a reference to itself)
Any ideas would be greatly appreciated
modal to any other window like the other ShowDialog(IWin32Window) method
does, but when this opens it somehow becomes modal to my main window- even
though I don't see how it could even be getting a reference to my main window.
What I need is to open a new window but still have my main window available
for interaction- the way it opens now it forces focus on this new window....
The last time I tried using just the Show() method it wound up just opening
the window for a split second before it vanishes away- and I wans;t doing
anything with the DialogResult variable.
nothing fancy here... just goes something like this:
on request:
MyDialog dialog = new MyDialog();
dialog.ShowDialog();
(dialog opens but becomes modal to the window that opened it, despite not
passing in a reference to itself)
Any ideas would be greatly appreciated