Path: utzoo!utgpu!water!watmath!clyde!rutgers!sdcsvax!ucsdhub!hp-sdd!hplabs!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: Problem setting drawmodes Keywords: SetDrMd RastPort Message-ID: <4973@well.UUCP> Date: 12 Jan 88 22:17:25 GMT References: <4364@garfield.UUCP> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Distribution: na Organization: The CIA: Third-World Governments Destabilized While-U-Wait. Lines: 20 In article <4364@garfield.UUCP> john13@garfield.UUCP (John Russell) writes: >Is there a recommended way to determine the drawmode of a rastport so that it >can be restored later? [ ... ] > >However fairly frequently the window will remain in COMPLEMENT mode, and stays >that way under almost every subsequent condition (though I have found 1 program >that resets it - this is a con: window I am talking about). > Since this RastPort belongs to someone else, if it were me doing this, I'd Xerox the RastPort and bang on the resulting copy. I'd keep the LockLayer() calls in to prevent the CON: handler from rendering into or scrolling the window, thus pulling the rug out from under me. Disclaimer: Xerox is a *VERB*. So there. :-) _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Recumbent Bikes: dual ---> !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor