Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
720 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1995 - 1997
  3. All rights reserved.
  4. Module Name:
  5. loadlib.hxx
  6. Abstract:
  7. Dynamic Library Loader
  8. Author:
  9. Steve Kiraly (SteveKi) 10/17/95
  10. Revision History:
  11. --*/
  12. #ifndef _CURSOR_HXX
  13. #define _CURSOR_HXX
  14. /********************************************************************
  15. Wait Cursor.
  16. ********************************************************************/
  17. class TWaitCursor {
  18. public:
  19. TWaitCursor(
  20. VOID
  21. )
  22. {
  23. _cOld = SetCursor( LoadCursor( NULL, IDC_WAIT ));
  24. }
  25. ~TWaitCursor(
  26. VOID
  27. )
  28. {
  29. SetCursor( _cOld );
  30. }
  31. private:
  32. HCURSOR _cOld;
  33. };
  34. #endif // ndef _CURSOR_HXX