IDL and CDE [message #7650] |
Thu, 19 December 1996 00:00 |
Justin Baker
Messages: 16 Registered: May 1995
|
Junior Member |
|
|
Hi there.
We are using IDL Version 4.0.1b with the Common Deskstop Environment
(CDE).
If an X application in CDE performs a WM_SAVE_YOURSELF command when
the user logs out, the window manager automatically saves that
application's state (geometry, button's pressed etc.).
Next time the user logs in, the window manager restarts that application
in its original state.
Does anyone know a way of doing something similar with IDL ?
Thanks in advance,
Justin Baker
Bureau of Meteorology
Melbourne, Australia
|
|
|
Re: IDL and CDE [message #7738 is a reply to message #7650] |
Thu, 19 December 1996 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Justin Baker <justinb@bom.gov.au> writes:
> We are using IDL Version 4.0.1b with the Common Deskstop Environment
> (CDE).
>
> If an X application in CDE performs a WM_SAVE_YOURSELF command when
> the user logs out, the window manager automatically saves that
> application's state (geometry, button's pressed etc.).
>
> Next time the user logs in, the window manager restarts that application
> in its original state.
>
> Does anyone know a way of doing something similar with IDL ?
Hi Justin, good to see your name again!
I don't think there is any way to do this in IDL proper. But...
IF you were in a widget program, and IF you wrote very
modular code, and IF you were very, very careful in how
you wrote your code, so that each module knew its
current "state", you MIGHT be able to come pretty darn
close to something workable.
I don't really know if it would be more trouble than it is
worth or not.
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
|
|
|