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.

59 lines
1.8 KiB

  1. /****************************************************************************************
  2. * NAME: PolicyLocDlg.h
  3. *
  4. * CLASS: CPolicyLocationDialog
  5. *
  6. * OVERVIEW
  7. *
  8. * Internet Authentication Server: NAP Location dialog
  9. * This dialog box is used to change the Network Access Policy Location
  10. *
  11. * Copyright (C) Microsoft Corporation, 1998 - 1999 . All Rights Reserved.
  12. *
  13. * History:
  14. * 4/12/98 Created by Byao
  15. *
  16. *****************************************************************************************/
  17. #ifndef _POLICYLOCDLG_H_
  18. #define _POLICYLOCDLG_H_
  19. #include "dialog.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CPolicyLocationDialog
  22. class CPolicyLocationDialog;
  23. typedef CIASDialog<CPolicyLocationDialog, FALSE> LOCDLGFALSE;
  24. class CPolicyLocationDialog: public CIASDialog<CPolicyLocationDialog, FALSE>
  25. {
  26. public:
  27. CPolicyLocationDialog(BOOL fChooseDS, BOOL fDSAvaialble);
  28. ~CPolicyLocationDialog();
  29. enum { IDD = IDD_DIALOG_POLICY_LOCATION };
  30. BEGIN_MSG_MAP(CPolicyLocationDialog)
  31. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  32. COMMAND_ID_HANDLER(IDOK, OnOK)
  33. COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
  34. COMMAND_ID_HANDLER(IDC_RADIO_STORE_ACTIVEDS, OnActiveDS)
  35. COMMAND_ID_HANDLER(IDC_RADIO_STORE_LOCAL, OnLocale)
  36. CHAIN_MSG_MAP(LOCDLGFALSE)
  37. END_MSG_MAP()
  38. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  39. LRESULT OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  40. LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  41. LRESULT OnLocale(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  42. LRESULT OnActiveDS(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  43. public:
  44. BOOL m_fChooseDS;
  45. BOOL m_fDSAvailable;
  46. };
  47. #endif //_POLICYLOCDLG_H_