Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!snorkelwacker.mit.edu!stanford.edu!neon.Stanford.EDU!calvin!zimmer From: zimmer@calvin.stanford.edu (Andrew Zimmerman) Newsgroups: comp.sys.next Subject: Re: YAPQ Message-ID: <1991Mar13.105501.3487@neon.Stanford.EDU> Date: 13 Mar 91 10:55:01 GMT References: <1991Mar12.082358.3527@neon.Stanford.EDU> Sender: news@neon.Stanford.EDU (USENET News System) Organization: Stanford University Lines: 25 > >- mouseDown:(NXEvent *)e >{ > NXPoint p=e->location; // Copy the point. > [self convertPoint:&p fromView:nil]; // Convert to your coordinates. > [self mungeInGnarlyWays:&p]; // Play with the result. ^ How did scott know I have a message called this? :-) > return self; >} > >-- >scott hess scott@gac.edu >Independent NeXT Developer GAC Undergrad Actually, I was already doing something like this. I got some of my code from BreakApp which uses it. It was only after my other problems that I figured out what it meant. After getting very frustrated with NeXTStep, I finally figured out one method that seems to work. In the function that I want to always write to my customview, I use a [mineView lockFocus] and a [mineView unlockFocus]. Seems to work. (mineView is the id of the customView) Hope this might help other programmers, Andrew zimmer@calvin.stanford.edu