Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!udel!eplrx7!leipold From: leipold@eplrx7.uucp (Walt Leipold) Newsgroups: comp.sys.mac.programmer Subject: Control Manager question Message-ID: <1991Jan16.200346.17087@eplrx7.uucp> Date: 16 Jan 91 20:03:46 GMT Sender: usenet@ee.udel.edu Organization: DuPont Engineering Physics Lab Lines: 23 Nntp-Posting-Host: louie.udel.edu According to Inside Mac I..V, the standard CDEF only works in windows whose origin is (0,0). I have an application in which I'd like to simulate a large physical control board (e.g., for a simulated chemical plant) with a scroll bar for each physical control, and would like to be able use the window scrollbars to move the view around in this array of controls. This would be a piece of cake if I could just scroll the window by diddling its origin. If I can't scroll the window, I'll have to call MoveControl for every control every time my window is scrolled, which is probably slow and certainly inelegant. Does anybody know if the window origin restriction has been lifted in later versions of the standard CDEF? (Why is the restriction there, anyway?) Should I (ugh) write my own scrollbar CDEF? Or can someone suggest another method to simulate a large physical array of controls? Thanks! -------------------------------------------------------------------------- "Marriage is like a phone call in the night. Walt Leipold First the ring, and then you wake up." (leipolw%esvax@dupont.com) -------------------------------------------------------------------------- -- The UUCP Mailer