×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Jeremy,

Put this in your DSPF instead.  According to the DSPF DDS reference you
are allowed to use the keyword twice like below. ROW/COL(1) is reference
position to the entire screen.  ROW/COL(2) is reference position within
a window.

DSPF:
     A                                      RTNCSRLOC(*RECNAME &REC
&FLD)       
     A                                      RTNCSRLOC(*WINDOW &ROW1
&COL1 &ROW2-
     A                                       &COL2)

     A            ROW1           3S 0H
     A            COL1           3S 0H
     A            ROW2           3S 0H
     A            COL2           3S 0H
     A            FLD           10A  H       
     A            REC           10A  H

Thanks, Matt


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeremy Tauriello
Sent: Wednesday, May 24, 2006 11:26 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: INFDS Workstation Flags

I am using the INFDS to capture the displays current cursor position.
However since the cursor position for the display is in a separate area
of
the INFDS (position 370-371) from the active window cursor (position
382-383) I cannot determine generically which one to use. Any ideas on
how
to determine if the a screen is displayed or an active window? I have
looked
at other areas of the INFDS but could not locate details for the
positions
367-368 the display flags in case it contained something that could be
used.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.