Go to Google Groups Home
Groups 
Advanced Groups Search    Groups Help 
 
Groups search result 62 for apmt os/2

Search Result 62
From: Reinhold Kaufmann (rkaufman@modicon.de)
Subject: Re: Need program to maximize current window
Newsgroups: comp.os.os2.misc, comp.os.os2.programmer.misc, comp.lang.rexx
View: Complete Thread (6 articles) | Original Format
Date: 1996/10/21
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


Google Home - Advertise with Us - Add Google to Your Site - News and Resources - Language Tools - Jobs, Press, Cool Stuff...

©2002 Google