Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining Window Border Widths Summary: What size should my window be so my display will fit in it? Message-ID: <2816@cps3xx.UUCP> Date: 3 May 89 01:07:05 GMT References: <2798@cps3xx.UUCP> <6701@medusa.cs.purdue.edu> Reply-To: porkka@frith.UUCP (Joe A Porkka) Organization: Michigan State University Lines: 32 In article <6701@medusa.cs.purdue.edu> wolff@cs.purdue.EDU (Robert M. Wolff) writes: >From article <2798@cps3xx.UUCP>, by usenet@cps3xx.UUCP (Usenet file owner): >> In article <2797@cps3xx.UUCP> porkka@frith.UUCP (Joe A Porkka) writes: >>>I open my window first, and then look at the border sizes and >> > >Do you really want this window that you are opening to be FULL size in >any case? I mean, if someone has a viking monitor (1008x800), they >are going to get a BIG window witha couple of gadgets sitting out >in never-never land... What is a viking monitor?(with a gfx card too i would assume) (Bob, please don't take this as a flame on you. Its not) I'e just learned somethin' usefull: If your'e not sure what the discussion is about, go back and read the original post + a few followups! My needs were a bit different than VT100's. I want a window of whatever size, and I will make stuff fit into it. VT100 wants the window to fit the contents. Either way there is no need to open maximum size window. Unless there are some hidden fields somewhere, and unless you have another window open (and your'e sure yours will open with the same font) then I think your best bet is to guess, then call Resize window if you guessed wrong, and then add your applications gadgets. Unless the system is loaded, that should not cause much hashing of the display. A question: If you don't already have a window open, then you probly dont need to have a screen open yet, so just open your screen behind, and bring it to front after the window is just right.