home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14258 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!ghostwind!shmdgljd
  3. From: shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall)
  4. Subject: Re: Finding the current cursor
  5. Sender: news@rchland.ibm.com
  6. Message-ID: <1992Jul23.141226.19607@rchland.ibm.com>
  7. Date: Thu, 23 Jul 1992 14:12:26 GMT
  8. Reply-To: jay@vnet.ibm.com
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References:  <1992Jul22.161928.19371@andersen.co.uk>
  11. Nntp-Posting-Host: ghostwind.rchland.ibm.com
  12. Organization: IBM Rochester, MN
  13. Lines: 14
  14.  
  15. In article <1992Jul22.161928.19371@andersen.co.uk>, you write:
  16. |> During an application I need to change the cursor, I do this with 
  17. |> XdefineCursor.  I would like to be able to store the original cursor so
  18. |> that I can change it back.  I have tried to retrieve the cursor with 
  19. |> XtSetArg and XtGetValues with a resource of XmRCursor but this does not
  20. |> work.
  21.  
  22. I don't think you need to store the original cursor at all; instead, store
  23. your new cursor.  Then, when you're done, undefine the new cursor.  The
  24. original cursor is automagically restored.
  25.  
  26. -- 
  27. : jay          jay@vnet.ibm.com    My opinions and ideas, not my employer's.
  28. : shmdgljd@rchland.vnet.ibm.com    (c) Copyright 1992.  All rights reserved.
  29.