Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

modal dialog behind application window ???

$
0
0

Hi,

I have an application based on WinForms.

The main application window is dervied from System.Window.Forms.Form.

When I now open a dialog modally, which is also derived from Form, means calling ShowDialog() and passing the application window instance as parentwindow, is it then possible in any way, that the dialog is placed behind the application window ??

Think of all possible scenarios, by calling Win32 windowfunctions like ShowWindow for the applicatio window.

Is it possible to bring the application window in front of the modal dialog ?

I thought that this could never happen no matter what windowfunction you would call to manipulate its z-Order, can it ????


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>