• Subject: Re: Display Screen Sizes
  • From: Dave Mahadevan <mahadevan@xxxxxxxx>
  • Date: Wed, 03 Mar 1999 15:10:39 -0500
  • Organization: Stoner and Associates


A couple of things you need to do.  You define screen sizes at file level.
Something like
     A                                      DSPSIZ(24 80 *DS3  27 132 *DS4)

and then in each record you want forced to a size, use the DSPMOD keyword as
      A                                      DSPMOD(*DS3)
this will force 24x80 mode even if the display is capable of 132 column mode for
that record.
You can also condition the DSPMOD keyword with an indicator.
Sometimes switching the the display sizes in the DSPSIZ, you can achieve the
result.  The first size is called primary and the second is called primary.  The
system tries to match the display to your display file using the primary first. 
need to be careful on message subfiles to make sure the SFLMSGRCD keyword uses 
proper line number. Otherwise your message may not display or be overlaid.  You 
also condition this with *DS3 or *DS4 as appropriate.  like
     A  *DS3                                SFLMSGRCD(24)
this will force the message line to 24 on 24x80 display.

If you are using GUI display, things become more involved and sadly you have to 
the @#$% manual. :-)


> Hello,
> does anyone know a way to force a called window program to open the
> display file with the size of the calling display file?
> I have a window program, that is called by some programs that use 80
> column displays, some that use 132 column displays. The window program
> always seems to display at the 80 column size regardless of the
> calling programs display size.
> Is there a special DDS jeyword I need to use, or maybe an API that can
> return this information?
> Thanks in advance,
> - -Paul Jackson

Thank You.


Dave Mahadevan.. mailto:mahadevan@fuse.net

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].