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.

56 lines
1.3 KiB

  1. /****************************************************************************************
  2. * NAME: LocWarnDlg.cpp
  3. *
  4. * CLASS: CLocationWarningDialog
  5. *
  6. * OVERVIEW
  7. *
  8. * Internet Authentication Server:
  9. * This dialog box is used to warn the user when user changes policy
  10. * location
  11. *
  12. * Copyright (C) Microsoft Corporation, 1998 - 1999 . All Rights Reserved.
  13. *
  14. * History:
  15. * 4/12/98 Created by Byao
  16. *
  17. *****************************************************************************************/
  18. #include "Precompiled.h"
  19. #include "LocWarnDlg.h"
  20. // Constructor/Destructor
  21. CLocationWarningDialog::CLocationWarningDialog()
  22. {
  23. }
  24. CLocationWarningDialog::~CLocationWarningDialog()
  25. {
  26. }
  27. LRESULT CLocationWarningDialog::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
  28. {
  29. TRACE_FUNCTION("CLocationWarningDialog::OnInitDialog");
  30. return 1; // Let the system set the focus
  31. }
  32. LRESULT CLocationWarningDialog::OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
  33. {
  34. TRACE_FUNCTION("CLocationWarningDialog::OnOK");
  35. EndDialog(wID);
  36. return 0;
  37. }
  38. LRESULT CLocationWarningDialog::OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
  39. {
  40. TRACE_FUNCTION("CLocationWarningDialog::OnCancel");
  41. EndDialog(wID);
  42. return 0;
  43. }