Maximze a minimize GUI [message #42687] |
Fri, 18 February 2005 01:58  |
patrick.dillmann
Messages: 5 Registered: November 2004
|
Junior Member |
|
|
Hi,
I have a question about maximize a minimized GUI.
After minimized a SubGUI, which has been started from my MainGUI, e.g.
from a pull-down menu or a button, is it possible to maximize the
SubGUI when I press the button in the MainGUI again instead of open a
new SubGUI?
Thanks in advance
Patrick
|
|
|
Re: Maximze a minimize GUI [message #42709 is a reply to message #42687] |
Tue, 22 February 2005 04:27  |
patrick.dillmann
Messages: 5 Registered: November 2004
|
Junior Member |
|
|
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1c839d71ae5fe808989929@news.frii.com>...
> Patrick Dillmann writes:
>
>> I tried it with XREGISTERED and the SubGUI is brought to the front but
>> only if it is maximized somewhere in the background and not if it is
>> minimized. I also tried it with WIDGET_CONTROL,id,/SHOW and the same
>> happens. Maybe it exists an other command that maximizes a SubGUI?
>> Something like pressing the button in the windows taskbar.
>
> I think I would have tried:
>
> WIDGET_CONTROL, id, ICONIFY=0
>
> Cheers,
>
> David
Thanks David,
that works perfect.
Cheers,
Patrick
|
|
|
Re: Maximze a minimize GUI [message #42739 is a reply to message #42687] |
Mon, 21 February 2005 06:26  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Patrick Dillmann writes:
> I tried it with XREGISTERED and the SubGUI is brought to the front but
> only if it is maximized somewhere in the background and not if it is
> minimized. I also tried it with WIDGET_CONTROL,id,/SHOW and the same
> happens. Maybe it exists an other command that maximizes a SubGUI?
> Something like pressing the button in the windows taskbar.
I think I would have tried:
WIDGET_CONTROL, id, ICONIFY=0
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|