Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!microsoft!stuartb From: stuartb@microsoft.UUCP (Stuart Burden) Newsgroups: comp.sys.mac.programmer Subject: LSC and &screenBits.bounds Message-ID: <5652@microsoft.UUCP> Date: 4 May 89 19:34:30 GMT Reply-To: stuartb@microsoft.UUCP (Stuart Burden) Organization: Microsoft Corp., Redmond WA Lines: 40 I have a two part query that I'm hoping someone will be able to help me with. If I do: tempRect = screenBits.bounds; DragWindow(myWindow, myEvent->where, &tempRect); I am limited to draging my window within the current display (not across multiple monitors). The same is true, if I do a SetRect for the Rect using the screenBits.bounds members. However, if I perform the DragWindow using the address of sreeenBits.bounds: DragWindow(myWindow, myEvent->where, &screenBits.bounds); this will let me drag my window across multiple displays. I'm curious as to why LSC would special case the address of and not the structure members? The next logical thing I would like to do is to open a window that spans more than one monitor. If I use screenBits.bounds to set the rect for my window, I am limited to the primary display. I have tried using an assignment from (**GrayRgn).rgnBBox, but this again only seems to let me size my windows portRect to the size of the primary display. If someone could point out a better/correct way to do this, and maybe an example, I'd appreciate it. Thanks in advance, Stu. __Paths to my door:_______________________ microsoft!stuartb@beaver.cs.washington.edu - Usual disclaimer, that all microsoft!stuartb@uw-beaver.arpa - the above is pure fantasy microsoft!stuartb@uunet.UU.NET - and Microsoft only [DE01HB]stuartb@DASNET# {from AppleLink} - gave me the Mountain Dew stuartb@microsoft.uucp {well connected} - to dream it all in a D2012 {@applelink.apple.com - shared acct} - caffeine haze :-) __________________________________________________________________________