Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Resizable windows Message-ID: <45680@apple.Apple.COM> Date: 16 Oct 90 06:43:10 GMT References: <90287.182643CXT105@psuvm.psu.edu> <1990Oct15.020733.16435@engin.umich.edu> <1990Oct15.190508.8408@svc.portal.com> Organization: Apple Computer Inc., Cupertino, CA Lines: 27 In article <1990Oct15.190508.8408@svc.portal.com> leonardr@svc.portal.com (Leonard Rosenthol) writes: >In article <1990Oct15.020733.16435@engin.umich.edu>, >mystone@mondo.engin.umich.edu (Dean Yu) writes: >> In article <90287.182643CXT105@psuvm.psu.edu> CXT105@psuvm.psu.edu (Christopher Tate) writes: >> >Problem: I want a resizable window, with the grow box in the lower right >> >and all that, but I do not want any scroll bars. I JUST want the box that >> >indicates the window is resizable. >> > >> If you're going to use the standard WDEF, you can set the clip region of >> your window to a 16 by 16 square that's in the bottom right of your window >> before calling _DrawGrowIcon. The grow icon will be drawn, but the lines >> for the scroll bars will be clipped out. >> > There is, however, one problem with this...What if Apple ever changes >the size of the 'GrowIcon', then you either end up with extra stuff, or not >enough? This will also effect utilities like Personality and ClickChange >which allow the user to change the WDEF in use. I don't think that we'll ever change the size of the grow icon. If we did, every scrollbar in the world would fail to line up with it. -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions