• Subject: RE: RSTDSP NOT WORKING
  • From: "Neil Palmer" <neilp@xxxxxxxxxxx>
  • Date: Fri, 12 Jan 2001 01:12:18 -0500

Ron,

Does sound like a bug, but no doubt a complaint to IBM will elicit the 
(in)famous "working as designed" reply.  :-)

I'm really guessing here so this could be totally out to lunch, but it 
sounds like what may be happening is when you first return to program A 
the screen is "restored", but a buffer is cleared, and when you call 
program C the RSTDSP keyword now saves a blank buffer to restore when you 
return from program C.
If you wrote a display for program A before the call to program C (maybe 
some dummy display format that writes a line at the bottom of the screen 
or something) it probably works fine (maybe this is the workaround you 
used ?).
I assume you've tried RSTDSP on all screens for programs A, B & C and it 
made no difference ?
Have you tried putting all display formats for programs A, B & C into one 
display file, and using the same display file for all 3 programs ? 
(SHARE(*YES) may be necessary on the display file). 

...Neil





"Ron Hawkins" <hwarangron@home.com>
Sent by: owner-midrange-l@midrange.com
2001/01/11 18:27
Please respond to MIDRANGE-L

 
        To:     <MIDRANGE-L@midrange.com>
        cc: 
        Subject:        RE: RSTDSP NOT WORKING


Neil,

Yeah, the first program has restore display yes. The problem is this:
Program A calls Program B which displays a window over the screen 
displayed
in Program A. Everything works fine. End Program B and return to Program A
without redisplaying the screen. If you then call Program C to display
another window, it will do so over a blank screen. This is because the
screen was not restored when returning to Program A.

Ron


+---
| 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 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].