2025-04-27 07:49:33 -04:00

26 lines
532 B
C++

#ifndef __INC_DSKQUOTA_UIUTILS_H
#define __INC_DSKQUOTA_UIUTILS_H
//
// Simple class for automating the display and resetting of a wait cursor.
//
class CAutoWaitCursor
{
public:
CAutoWaitCursor(void)
: m_hCursor(SetCursor(LoadCursor(NULL, IDC_WAIT)))
{ ShowCursor(TRUE); }
~CAutoWaitCursor(void)
{ Reset(); }
void Reset(void);
private:
HCURSOR m_hCursor;
};
bool UseWindowsHelp(int idCtl);
#endif //__INC_DSKQUOTA_UIUTILS_H