Home All Groups Group Topic Archive Search About

How to minimize the complete application into the task bar?

Author
22 Nov 2004 12:16 PM
Jan_Weingärtner
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

Author
22 Nov 2004 4:25 PM
Nigel Armstrong
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

Show quote
"Jan Weingärtner" wrote:

> 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
>
Author
23 Nov 2004 9:05 AM
Jan_Weingärtner
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.

>> 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.

best regards and thanks,
Jan

AddThis Social Bookmark Button