F
Frank Rizzo
I am not grokking the difference between Form.ShowDialog() and
Form.ShowDialog(this). I have a form (parent form) that kicks off a
modal dialog using Form.ShowDialog(). The modal dialog has a 3rd party
control on it. The weird thing is that I can click on parent form's
icon in the taskbar and it will bring up the parent form (obscuring the
modal form). I can't do anything on the parent form (e.g. it does not
take mouse or keyboard input), so to users it looks hung.
If I only have native controls on the modal form, I do not see this
behavior (e.g. cannot bring up the parent form while the modal form is
showing).
The odd thing is that if I call the modal form using
Form.ShowDialog(this), the application behaves properly.
So it's probably something to do with the 3rd party control. Could it
be messing (is it even possible) with the ownership of the form?
Thanks.
Form.ShowDialog(this). I have a form (parent form) that kicks off a
modal dialog using Form.ShowDialog(). The modal dialog has a 3rd party
control on it. The weird thing is that I can click on parent form's
icon in the taskbar and it will bring up the parent form (obscuring the
modal form). I can't do anything on the parent form (e.g. it does not
take mouse or keyboard input), so to users it looks hung.
If I only have native controls on the modal form, I do not see this
behavior (e.g. cannot bring up the parent form while the modal form is
showing).
The odd thing is that if I call the modal form using
Form.ShowDialog(this), the application behaves properly.
So it's probably something to do with the 3rd party control. Could it
be messing (is it even possible) with the ownership of the form?
Thanks.