windows-nt/Source/XPSP1/NT/shell/osshell/dskquota/ui/uiutils.cpp

33 lines
493 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "pch.h"
#pragma hdrstop
#include "uiutils.h"
void
CAutoWaitCursor::Reset(
void
)
{
ShowCursor(FALSE);
if (NULL != m_hCursor)
SetCursor(m_hCursor);
m_hCursor = NULL;
}
bool UseWindowsHelp(int idCtl)
{
bool bUseWindowsHelp = false;
switch(idCtl)
{
case IDOK:
case IDCANCEL:
case IDC_STATIC:
bUseWindowsHelp = true;
break;
default:
break;
}
return bUseWindowsHelp;
}