windows-nt/Source/XPSP1/NT/shell/ext/sshow/waitcurs.h

21 lines
333 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef __034b8365_8d02_4653_9065_2ec7e33d0fbe__
#define __034b8365_8d02_4653_9065_2ec7e33d0fbe__
class CWaitCursor
{
private:
HCURSOR m_hCurOld;
public:
CWaitCursor(void)
{
m_hCurOld = SetCursor( LoadCursor( NULL, IDC_WAIT ) );
}
~CWaitCursor(void)
{
SetCursor(m_hCurOld);
}
};
#endif