|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to minimize the complete application into the task bar?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 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 > Hi.
> What specific problem do you have? With one main form and a modal dialog, If i minimize a modal form, the parent form ist not minimized.> the behaviour that you describe is just what you get by default. 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? best regards and thanks,>> 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. Jan |
|||||||||||||||||||||||