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.

20 lines
333 B

  1. #ifndef __034b8365_8d02_4653_9065_2ec7e33d0fbe__
  2. #define __034b8365_8d02_4653_9065_2ec7e33d0fbe__
  3. class CWaitCursor
  4. {
  5. private:
  6. HCURSOR m_hCurOld;
  7. public:
  8. CWaitCursor(void)
  9. {
  10. m_hCurOld = SetCursor( LoadCursor( NULL, IDC_WAIT ) );
  11. }
  12. ~CWaitCursor(void)
  13. {
  14. SetCursor(m_hCurOld);
  15. }
  16. };
  17. #endif