home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4696 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: Changing the mouse arrow 
  5. Distribution: world
  6. References: <1993Jan6.152604.9593@midway.uchicago.edu>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 27
  11. Date: Wed, 6 Jan 1993 20:30:26 +0000
  12. Message-ID: <726352226snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <1993Jan6.152604.9593@midway.uchicago.edu> epc1@midway.uchicago.edu writes:
  16.  
  17. >
  18. >I would like to change the mouse arrow in my application to an hourglass
  19. >or a clock when it's performing a long, cpu intensive calculation in order
  20. >to reassure the user that something is still occuring.  
  21. >
  22. >Does anyone know where I can get a public domain pixmap of a hourglass
  23. >or a clock for such an effort?
  24. >
  25. >Thanks.
  26. >
  27.  
  28. You don't need one - Windows provides one for you!  Just say:
  29.  
  30.     HCURSOR hHourGlass = LoadCursor( NULL, IDC_WAIT );
  31.  
  32. and use that.  Refer to the documentation of the "LoadCursor" function for
  33. a list of all the standard cursors which Windows provides.
  34. -- 
  35. --------------------------------------------------------------------------
  36. | Chris Marriott                           | chris@chrism.demon.co.uk    |
  37. | Warrington, UK                           | BIX: cmarriott              |
  38. | (Still awaiting inspiration              | CIX: cmarriott              |
  39. |  for a witty .sig .... )                 | CompuServe: 100113,1140     |
  40. --------------------------------------------------------------------------
  41.  
  42.