Path: utzoo!attcan!uunet!jarthur!usc!apple!well!wdh From: wdh@well.sf.ca.us (Bill Hofmann) Newsgroups: comp.sys.mac.programmer Subject: Re: Scroll Bars using Think C Message-ID: <21418@well.sf.ca.us> Date: 30 Oct 90 17:04:20 GMT References: <31867@netnews.upenn.edu> <21408@well.sf.ca.us> Organization: Flashpoint Lines: 11 In article <21408@well.sf.ca.us> oster@well.sf.ca.us (David Phillip Oster) writes: >Inside Mac, Vol 1, Control Manager chapter states that you must be in >SetOrigin(0,0) for controls to work. While using SetOrigin is a lovely idea, this is only one of the managers that assumes the origin is 0. The Window Manager routine DrawGrowIcon also assumes the origin is 0, as does all of TextEdit. If you must use SetOrigin, one strategy that works is to only use it when you actually draw (in your update routine, mostly) and immediately set it back to 0,0 after you draw your objects, but before you call DrawControls and DrawGrowIcon. -Bill Hofmann