Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overlapping windows in separate display files

75 views
Skip to first unread message

Paul Cunnane

unread,
Mar 9, 1999, 3:00:00 AM3/9/99
to
This one is doing my head in, I thought I'd be able to sort it on my
own:

I have a program (PGMA) that displays a window in DSPFA. This program
calls a procedure in service program PGMB, which displays a window in
DSPFB.

I can't get to a situation where the windows display neatly. I have
tried RMVWDW, closing/not closing DSPFB, all sorts of strange stuff.

I can't use USRRSTDSP because the window in DSPFA is overlayed on a
full-screen background that I have no way of repainting on demand.

Is there a straightforward answer? Or will I have to combine all the
functionality into a single program (yuck)?


_ \ | __| paulcunnane at hotmail
__/ _` | | | | ( | | \ \ _` | \ -_)
_| \__,_|\_,_|_| \___|\_,_|_| _|_| _|\__,_|_| _|\___|

Tim

unread,
Mar 9, 1999, 3:00:00 AM3/9/99
to
What specifically is happening. Your posting is rather vague.
Paul Cunnane wrote in message <36e50dd1...@news.indigo.ie>...

Thomas Raddatz

unread,
Mar 9, 1999, 3:00:00 AM3/9/99
to Paul Cunnane
Hello Paul,

did you ever try RSTDSP(*YES) instead of USRRSTDSP for all DSPF´s that
may be overlayed by your windows?

Thomas Raddatz, Germany.

Paul Cunnane schrieb:


>
> This one is doing my head in, I thought I'd be able to sort it on my
> own:
>
> I have a program (PGMA) that displays a window in DSPFA. This program
> calls a procedure in service program PGMB, which displays a window in
> DSPFB.
>
> I can't get to a situation where the windows display neatly. I have
> tried RMVWDW, closing/not closing DSPFB, all sorts of strange stuff.
>
> I can't use USRRSTDSP because the window in DSPFA is overlayed on a
> full-screen background that I have no way of repainting on demand.
>
> Is there a straightforward answer? Or will I have to combine all the
> functionality into a single program (yuck)?
>
> _ \ | __| paulcunnane at hotmail
> __/ _` | | | | ( | | \ \ _` | \ -_)
> _| \__,_|\_,_|_| \___|\_,_|_| _|_| _|\__,_|_| _|\___|

--
*=====================================================*

e-mail Adresse:
Thomas....@Online-Club.de

Homepage:
http://www.online-club.de/~Thomas.Raddatz/

*=====================================================*


Nils Kilden-Pedersen

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to
Be sure to close DSPFB every time, and remember to use ASSUME keyword.

Nils

Paul Cunnane skrev i meddelelsen <36e50dd1...@news.indigo.ie>...

Paul Cunnane

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to
On Tue, 09 Mar 1999 21:34:37 +0100, Thomas Raddatz
<Thomas....@online-club.de> wrote:

>Hello Paul,
>
>did you ever try RSTDSP(*YES) instead of USRRSTDSP for all DSPF´s that
>may be overlayed by your windows?
>
>Thomas Raddatz, Germany.
>

Excellent! That was the missing piece of the jigsaw. Thanks to all
for the replies.

Paul Cunnane

unread,
Mar 10, 1999, 3:00:00 AM3/10/99
to
On Tue, 09 Mar 1999 12:55:13 GMT, "Tim" <scot...@home.com.xyz>
wrote:

>What specifically is happening. Your posting is rather vague.

Sorry for being vague, Tim. The problem is that I had spent quite
some time trying to crack this, and each attempt yielded very
different results.

The solution posted by Thomas Raddatz worked very nicely.

Matthias Schmidt

unread,
Apr 28, 1999, 3:00:00 AM4/28/99
to
If you want to have the display of the calling program in the
background and the window of program PGMB on top of it, create
a dummy format with the keyword ASSUME on record level. This format
won't be displayed in your program but it will enable you to "overlay"
the window.

Hope that helps, Matthias


On Tue, 09 Mar 1999 12:08:38 GMT, hot...@paulcunnane.com (Paul
Cunnane) wrote:

>This one is doing my head in, I thought I'd be able to sort it on my
>own:
>
>I have a program (PGMA) that displays a window in DSPFA. This program
>calls a procedure in service program PGMB, which displays a window in
>DSPFB.
>
>I can't get to a situation where the windows display neatly. I have
>tried RMVWDW, closing/not closing DSPFB, all sorts of strange stuff.
>
>I can't use USRRSTDSP because the window in DSPFA is overlayed on a
>full-screen background that I have no way of repainting on demand.
>
>Is there a straightforward answer? Or will I have to combine all the
>functionality into a single program (yuck)?
>
>

0 new messages