Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!jeff From: jeff@unix.cis.pitt.edu (Jefferson Provost) Newsgroups: comp.sys.mac.programmer Subject: Using the whole screen. Message-ID: <111802@unix.cis.pitt.edu> Date: 5 Apr 91 15:44:51 GMT Reply-To: jeff@unix.cis.pitt.edu (Jefferson Provost) Organization: Univ. of Pittsburgh, Comp & Info Sys Lines: 25 Greetings, I'm working on an application that, at certain times, needs to use the whole screen, inluding the area occupied by the menu bar, and the area outside the rounded corners of the screen's region. Currently, at the time I need to start using the whole screen, I set the current port's clipRgn, and visRgn to the rect defined by the boundaries of the the screen ( (0,0) (640,48) on my machine). Then I clear the screen, and it clears properly, but it seems as if the visRgn and/or clipRgn is reset to its old extent, excluding the menubar and corners. I don't manually change either region anywhere else in the code, but it seems as if something in QuickDraw is resetting it, unbeknownst to me. I'm obviously missing something. Can anyone our there tell me what? Thanx, Jeff -- ----------------------------------------------------------------------------- Jefferson Provost -- jeff@unix.cis.pitt.edu Nothin' left to do but :-) ;-) :-)