windows-nt/Source/XPSP1/NT/shell/osshell/dskquota/ui/uiutils.cpp
2020-09-26 16:20:57 +08:00

33 lines
493 B
C++

#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;
}