Leaked source code of windows server 2003
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.

32 lines
525 B

  1. #include "pch.h"
  2. #pragma hdrstop
  3. #include "uiutils.h"
  4. void
  5. CAutoWaitCursor::Reset(
  6. void
  7. )
  8. {
  9. ShowCursor(FALSE);
  10. if (NULL != m_hCursor)
  11. SetCursor(m_hCursor);
  12. m_hCursor = NULL;
  13. }
  14. bool UseWindowsHelp(int idCtl)
  15. {
  16. bool bUseWindowsHelp = false;
  17. switch(idCtl)
  18. {
  19. case IDOK:
  20. case IDCANCEL:
  21. case IDC_STATIC:
  22. bUseWindowsHelp = true;
  23. break;
  24. default:
  25. break;
  26. }
  27. return bUseWindowsHelp;
  28. }