TIP: Click on subject to list as thread! ANSI
echo: os2
to: Fred Springfield
from: Herbert Rosenau
date: 1999-11-06 22:50:16
subject: PM Sessions

 FS> How can I start a PM type of program so that it is minimized?

There is absolutly nothing that will bring alway a PM program to minimised
state during startup. This is because a PM program by itsel has the absolute
control over its windows. So a PM program CAN but must not aware of any
settings or commandine parameters.

Remember you have 3 levels to run a program:

- AVIO: is the primitve commanline. This does normally nothing know over
        any graphical interface - but it CAN know a little bit.
        The PM and WPS (your desktop) does nothing with the program itself.
        If you run such an application unter WPS it will manage the full
screen
        or a simple command window for it.
- PM  : is able to use all the full PM and GPI APIs but does normally
absolutly
        nothig know about the WPS. The WPS does nothing for the program other
        than to start it with or without parameters.
        Some programs are abled by its developers to know the WPS and interact
        with it more or less good.
        A well behaved program will open its window(s) in the same state as
        it/them where on close but it is not done automagigally as by
        WPS objects. A developer has to do some explicit and sometimes
        truly big overhead to do so.
- WPS object: This is what is controlled by WPS itself. The WPS has full
control
        over any view, the WPS will do anything you like for it.
        Some (seldom) objects are misbehaved but this is a desingn flaw of its
        developer.



--- Sqed/32 1.14/development
* Origin: Schont die Umwelt: Vermeidet DOSen (2:2476/493)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.