Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!mcnc!uvaarpa!hub!jmidili From: jmidili@hub.cs.jmu.edu (jeff midili) Newsgroups: comp.sys.mac.programmer Subject: writing to a window without selecting it. Message-ID: <1991Apr9.034248.6761@hub.cs.jmu.edu> Date: 9 Apr 91 03:42:48 GMT Distribution: comp Organization: James Madison University Lines: 20 Lots of programs like MacDraw, MacDraft, etc have a small window seperate of the main image window that displays the x,y coordinates of the mouse pointer withen the image. I have written a program that displays a pix image, and now I want to add the small window that will display the x,y coordinates of the mouse when it is in the window. I can do it now, but only by selecting the coordwindow during each NULL event and drawstringing the coordinates in the coordwindow. The problem with this is that for each NULL event I Select the coord- window, draw in it, and then Select my image window. This creates unsightly flickering in each window. Is there another way to do this without getting into assembly? I know that the NIH Image Processing software package does just what I want to do, but it is writtten in assembly. I really appreciate any help I can get on this! jeff midili jmidili@hub.cs.jmu.edu