Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.apple Subject: Re: More GS Source Examples?? Message-ID: <28874@apple.Apple.COM> Date: 13 Apr 89 03:13:27 GMT References: <8904121453.aa15335@SMOKE.BRL.MIL> Organization: Apple Computer Inc, Cupertino, CA Lines: 34 In article <8904121453.aa15335@SMOKE.BRL.MIL> JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") writes: > >I've been writing a program (in assembler) that needs a window with the >data height greater than $FFFF. Is there any way to stuff everything >into the window?? There *ARE* ways, but I can't think of any easy ones. The only one that I would try doing is the same way that MacApp does it on the Macintosh; store your position within your data as a longint in your own data structures. Then translate it into some 16-bit value by taking the top 16 significant bits and using it for your coordinates and scrollbar values. >Also, I've been wondering about some tricks to do with the Menu Manager. >How would you code: > Hierarchical menus, > Tear off menus, >and Menus inside a window?? > Of these three, I've only seen the last one implemented on a GS. It is covered in Apple IIGS Technote #3. Actually, that technote discusses the more specific instance where one might want to install a menubar in a window's infobar, but the technique is easily adapted to other cases. Hierarchical and TearOff menus cannot be implemented without some serious re-programming. There are no tricks that I am aware to implement these. ------------------------------------------------------------------------------ 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