zimmer@calvin.stanford.edu (Andrew Zimmerman) (03/13/91)
> >- 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