Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!cs.utexas.edu!uunet!uvm-gen!chaffee From: chaffee@uvm-gen.UUCP (Alex D. Chaffee,,,6581273) Newsgroups: comp.sys.mac.programmer Subject: Re: Accessing other layers' windows; MF DA bug Message-ID: <1246@uvm-gen.UUCP> Date: 26 Jul 89 17:58:40 GMT References: <15705@ut-emx.UUCP> Sender: nobody@uvm-gen.UUCP Organization: EMBA Computer Facility, Univ. of Vermont, Burlington. Lines: 34 From article <15705@ut-emx.UUCP>, by jdm@ut-emx.UUCP (Jim Meiss): > >>..... description of a problem with Multifinder and a Desk Accessory.... > > ... > My problem turned out to be that I'd allocated a window record > as one of my Global variables (didn't pass NIL to GetNewWindow). If I > change that, MF nolonger had the problem. > Since you claim you have no windows, this does not seem to be your > problem. No, but thanks for the tip. I wrote this DA a while ago, before I understood globals very well; it might be a similar faux pas. I'll re-check the code with a fine-toothed comb. > Jim Meiss > jdm@emx.utexas.edu A Presentation Manager (PM) program explictly creates one or more windows to present functions to the user. A PM APPLICATION SHOULD INTERACT IN A COMPATIBLE WAY WITH OS/2, AND OTHER PM APPLICATIONS (INCLUDING THE USER SHELL). In particular, A PM APPLICATION SHOULD CATER TO THE NEEDS OF THE USER. Unlike CONVENTIONAL PC programs, these requirements directly affect how you design and write your applications, and mean that YOU MUST PUT CODE IN YOUR APPLICATIONS TO FULFILL THEM. OS/2 v1.1 Programmer's Toolkit Manual quoted by Mark Smith Alex Chaffee Before August 15: After August 15: chaffee@emily.uvm.edu adc@reed[.bitnet] adc%reed@tektronix.uucp ____________________________