Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!seismo!ll-xn!cit-vax!usc-oberon!bacall!papa From: papa@bacall.UUCP Newsgroups: comp.sys.amiga Subject: Re: Question about extra large screens Message-ID: <2303@bacall.UUCP> Date: Tue, 3-Mar-87 15:19:48 EST Article-I.D.: bacall.2303 Posted: Tue Mar 3 15:19:48 1987 Date-Received: Fri, 6-Mar-87 06:43:40 EST References: <29@altera.UUCP> <1481@cbmvax.cbmvax.cbm.UUCP> Organization: CS&CE Depts, U.S.C., Los Angeles, CA Lines: 36 > In article <29@altera.UUCP> bob@.UUCP (Bob Duncan) writes: > >Somebody please tell me how to create a screen that fills the whole display, > >including the borders? I have found that you are able to fill the top, bottom, > >and left borders by setting the DxOffset and DyOffset members of the View > >structure to lower values, and specifying larger width and height values for > >the display, but there seems to be no way of setting the right edge such as to > >remove the right border... In article <1481@cbmvax.cbmvax.cbm.UUCP> Carolyn Scheppner writes: > I don't know if you can do it with a screen. In DPaint II, Dan Silva gets > a full video display by using a ViewPort instead of a screen. I think he > subtracts 1/2 of the extra width/height he needs for the View's DxOffset > and DyOffset, and creates a ViewPort with the desired width/height. > It is no problem even with a screen. I just used it in my own A-Talk Plus program that does Tek 4014 allowing a custom screen to be 700x440. Since I do not change preferences in my program, the user has to move the upper left corner using the Preferences "centering" gadget. On the other hand it can be done by the program itself, as follows: GetPrefs() save DxOffset and DyOffset locally, reset DxOffset and DyOffset in the structure returned by Preferences SetPrefs() /* do your own things with the new screen */ GetPrefs() restore the old DxOffset and DyOffset SetPrefs() Note that I left out all the parameters of GetPrefs and SetPrefs. If you cannot find docs about SetPrefs, it is at the very end of the Intuition manual. -- Marco (Felsina Software)