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.

25 lines
507 B

  1. #ifndef __INC_DSKQUOTA_UIUTILS_H
  2. #define __INC_DSKQUOTA_UIUTILS_H
  3. //
  4. // Simple class for automating the display and resetting of a wait cursor.
  5. //
  6. class CAutoWaitCursor
  7. {
  8. public:
  9. CAutoWaitCursor(void)
  10. : m_hCursor(SetCursor(LoadCursor(NULL, IDC_WAIT)))
  11. { ShowCursor(TRUE); }
  12. ~CAutoWaitCursor(void)
  13. { Reset(); }
  14. void Reset(void);
  15. private:
  16. HCURSOR m_hCursor;
  17. };
  18. bool UseWindowsHelp(int idCtl);
  19. #endif //__INC_DSKQUOTA_UIUTILS_H