TIP: Click on subject to list as thread! ANSI
echo: os2
to: Fred Springfield
from: Jonathan de Boyne Pollard
date: 1999-11-07 12:08:26
subject: PM Sessions

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

That requires the co”peration of the PM program itself.  If it doesn't
minimise when started with START /PM /MIN, then there's probably nothing that
you can do.  It is up to the program to query these flags when it starts up
and to alter its window accordingly.

( For the curious: PM programs call WinQueryTaskSizePos to obtain the
recommended size, position, and state of their main window which was derived
from the startup data passed to DosStartSession or WinStartApp.  Using the
FCF_SHELLPOSITION flag on a frame control simply means that the WM_CREATE
processing in the frame control's window function will do this internally.  )

I'm sorry to say that I've committed this same sin myself.  I'm correcting
DIGCLOCK, ANACLOCK, PMCMD, CPUIDG, WINSIGHT, and CALCTZ to respect the
maximised/minimised flags right now.  Thak you for bringing it to my
attention.

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
114/477
147/2021
* Origin: JdeBP's point, using Squish (2:257/609.3)

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™.