comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Maximze a minimize GUI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Maximze a minimize GUI [message #42682] Fri, 18 February 2005 06:17 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Patrick Dillmann writes:

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

Depending upon how you have written this application,
XREGISTERED might give you this functionality directly.
If not, XREGISTERED will probably give you the information
you need to do it. But if you *still* have no joy, then
you can use WIDGET_INFO to see if the subGUI TLB is
realized (REALIZED keyword), or valid (VALID_ID keyword).
If so, then maximize rather than recreate.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Maximze a minimize GUI [message #42740 is a reply to message #42682] Mon, 21 February 2005 04:17 Go to previous message
patrick.dillmann is currently offline  patrick.dillmann
Messages: 5
Registered: November 2004
Junior Member
David Fanning, Ph.D. <david@dfanning.com> wrote in message news:<MPG.1c7fa6db2434cf64989685@news.frii.com>...
> Patrick Dillmann writes:
>
>> 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?
>
> Depending upon how you have written this application,
> XREGISTERED might give you this functionality directly.
> If not, XREGISTERED will probably give you the information
> you need to do it. But if you *still* have no joy, then
> you can use WIDGET_INFO to see if the subGUI TLB is
> realized (REALIZED keyword), or valid (VALID_ID keyword).
> If so, then maximize rather than recreate.
>
> Cheers,
>
> David

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.

Cheers,
Patrick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linux Question
Next Topic: Re: Importing IDL plots to Powerpoint on Mac

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:02:18 PDT 2025

Total time taken to generate the page: 0.00545 seconds