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
532 B
25 lines
532 B
#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
|