How to minimize the complete application into the task bar?

  • Thread starter Thread starter =?iso-8859-1?Q?Jan_Weing=E4rtner?=
  • Start date Start date
?

=?iso-8859-1?Q?Jan_Weing=E4rtner?=

Hi,

how can i minimize the complete application into the task bar?
If there is a modal form all windows should be minimized, if the
modal form is minimized and after a click on the task bar symbol
the previous state of all windows should be restored.

I have experimented with ShowInTaskBar property, the ShowDialog parameter,
the WindowState property, but i cant find a solution.

best regards and thanks,
Jan
 
Hi Jan

What specific problem do you have? With one main form and a modal dialog,
the behaviour that you describe is just what you get by default.

Nigel Armstrong
 
Hi.
What specific problem do you have? With one main form and a modal dialog,
the behaviour that you describe is just what you get by default.

If i minimize a modal form, the parent form ist not minimized.
Further a modal form ist not minimized in the application symbol of the task bar.
It's minimized as a special symbol over the task bar (if ShowInTaskBar==false).
I'm looking for something like

Applicaton.Minimize();

The next problem: With an active modal form the taskbar context menu (Minimize,
Maximize, Close,...) is not available.

best regards and thanks,
Jan
 
Back
Top