Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!bywater!arnor!larios!db3l From: db3l@ibm.com (David Bolen) Newsgroups: comp.windows.x Subject: Hiding the cursor Message-ID: Date: 1 Mar 91 21:44:36 GMT Sender: news@arnor.uucp (NNTP News Poster) Organization: Laboratory Automation, IBM Thomas J. Watson Research Center Lines: 31 I thought it should be pretty simple, but I can't figure out how to hide the cursor for a window. My application happens to be letting the user adjust a sizing box, and I don't want the cursor visible, since it is the visible box that is important to the user and not the location of the pointer. Defining a cursor of None just takes the parent cursor, which doesn't help me. I thought of defining my own Pixmap cursor with colors that wouldn't show up, but given that the pointer will move over various background colors in the window I didn't see how that could work. Is there any way to tell X NOT to display a cursor at the pointer location for a particular window? Oh, and I should mention that I'm actually trying to do this within a Motif application - for the DrawingArea widget of one of my windows, but I think the question has more to do with X than Motif. Thanks for any help. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen / | Laboratory Automation, IBM Thomas J. Watson Research Center | / P.O. Box 218, Yorktown Heights, NY 10598 \ | - - - - - - - - - - - - M i t h r a n d i r - - - - - - - - - - - - | | Internet : db3l@ibm.com | Bitnet : db3l@yktvmv | | Usenet : uunet!bywater!arnor!larios!db3l | Phone : (914) 945-1940 | | /---------------------------------------------------------------\ | \-( All comments/opinions are mine and don't represent those of IBM )-/ \---------------------------------------------------------------/