Groups search result 62 for apmt os/2 |
In <DzJEMz.3ty@midway.uchicago.edu>, pynq@midway.uchicago.edu (Jeremy Mathers) writes:
>What is the simplest possible program to cause the current (OS/2 VIO) window
>to be maximized? I want the equivalent of hitting shift-esc, X.
>I imagine this ought to be doable in about a 3 line C program.
>
>Can it be done in Rexx (maybe through SysSetObjectData) ?
Yes. You need APMT ("A PM Automation Tool"). It's a IBM EWS
(freeware) package, called apmtst.zip. I'm not sure where I
found it, try software.watson.ibm.com:/pub/os2/ews.
If you have it, place the following between the small prefix and
suffix code, given in the online doc:
if SELECT_WINDOW( '*') = 0 then
call SYSMENU_SELECT 'Maximize'
This will do the trick.
-------------------
Reinhold Kaufmann
rkaufman@modicon.de
©2002 Google