[comp.sys.atari.st] Personal Pascal GEM question

BHOLMES@WAYNEST1.BITNET (Brian Holmes) (05/23/88)

When I use the CLEAR_SCREEN() routine then draw a dialog box then use
END_DIALOG() to erase it, a box, the size of the dialog remains on the
screen.  Is this a bug in PPASCAL or is there some call I can use
besides CLEAR_SCREEN to get rid of this box?  When I call GET_OUT_FILE()
after CLEAR_SCREEN a box the size of the mouse pointer and at the
same location appears on the screen.  Is this a bug or is there a call
I can make to eliminate this?


*******************************************************************
*                  Brian Holmes                                   *
*                  Wayne State University                         *
*                  Detroit Michigan                               *
*                                                                 *
*                BITNET   : BHOLMES@WAYNEST1                      *
*                INTERNET : Brian_Holmes%WU@UM.CC.UMICH.EDU       *
*                UUCP     : {UMIX|ITIVAX}!WAYNE-MTS!BRIAN_HOLMES  *
*******************************************************************

DMiddleton@HIS-PHOENIX-MULTICS.ARPA (05/26/88)

If you do a dialog, the system puts back what it thinks should be under
the dialog box.  in personal pascal.  I have found this and have
resolved the problem using the PP Scrn_Save and Scrn_Restr functions.
Hide your mouse, snap a copy of the screen, do the dialog, begin update,
restore screen, end update, show mouse.

This works very well, but I think it is a feature, rather than a bug.
On mono, one gets a grey desktop, but this solution will take care of
the problem.  I think it is legit though, since alerts warn of not
exceeding 25% of the screen size (it saves it?)  so if your doing alerts
it is just a fancy way of speeding up the process of dialogs.

Don Middleton, Honeywell Bull, Toronto

DMiddleton%pco -at BCO-Multics