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