Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple2 Subject: Re: Window Definition Procedures Message-ID: <51447@apple.Apple.COM> Date: 12 Apr 91 05:43:26 GMT References: <1991Apr11.063406.9508@netcom.COM> Organization: Apple Computer Inc., Cupertino, CA Lines: 26 In article <1991Apr11.063406.9508@netcom.COM> avery@netcom.COM (Avery Colter) writes: >Now, page 25-25 of the GS Toolbox Reference starts out reading, >"You may want to define your own type of window, such as a round or >hexagonal window; Quickdraw and the Window Manager allow you to >define your own window shape." > >I have seen a few programs where the windows were slightly non-standard, >but I've never seen a round or hexagonal window to my knowledge. >I'd like to know if anyone has ever done this, if there are any >source code examples of window definition procedures, as I might like to >make some of these in some programs. Writing a custom window defproc is difficult; but there is a Developer Technical Support sample. It's sample #5. The primary reference is Apple IIgs Technical Note #42, Custom Windows. The note dates back to the 4.0 days, and I do not know whether there are any 5.0 surprises waiting for you. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II System Software Engineer | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.