How to...

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
May be because thouse forms are independent ...
I don't show unmodal form from modal one.
Modal is already shown to the user and some other
processing method wants to show it's own form with
progress bar and I woud like to show this in the center
of already shown modal form. WindowDefaultLocation
doesn't work in this scenario ...

Then you have to calculate the position of the new nonmodal form by
yourself. you take the reference of your modal dialog and center the
nonmodal around its location.
 
Wrong ...
May be because thouse forms are independent ...
I don't show unmodal form from modal one.
Modal is already shown to the user and some other
processing method wants to show it's own form with
progress bar and I woud like to show this in the center
of already shown modal form. WindowDefaultLocation
doesn't work in this scenario ...
 
Hi Jacek,

I agree with cody that you should calculate the non-modal form's position
yourself. Is your problem resolved?

Please feel free to feedback, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top