Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: pete@iris49.biosym.COM (Pete Ware) Subject: Re: How do I make a cross-hair cursor in X windows? Message-ID: <9105290033.AA01592@iris49.biosym.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet References: <1359@sol.deakin.OZ.AU> Date: 29 May 91 00:33:37 GMT Lines: 15 Basically, create a tall, narrow window with save-under set and move that to follow the mouse. A reasonable way to do this is to write your own composite widget that understands how to layout your series of graphs. Then include a resource that indicates where the vertical cursor should be placed and possiblly another resource if it should be displayed. This composite widget can then insure the "vertical cursor" window is properly placed above all the others. You can even implement the "vertical cursor" as a widget which simplifies setting things such as color. --pete