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.

68 lines
2.2 KiB

  1. /////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1997 Active Voice Corporation. All Rights Reserved.
  4. //
  5. // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
  6. //
  7. // Other brand and product names used herein are trademarks of their respective owners.
  8. //
  9. // The entire program and user interface including the structure, sequence, selection,
  10. // and arrangement of the dialog, the exclusively "yes" and "no" choices represented
  11. // by "1" and "2," and each dialog message are protected by copyrights registered in
  12. // the United States and by international treaties.
  13. //
  14. // Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
  15. // 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
  16. //
  17. // Active Voice Corporation
  18. // Seattle, Washington
  19. // USA
  20. //
  21. /////////////////////////////////////////////////////////////////////////////////////////
  22. // DlgAddLocation.h : Declaration of the CDlgAddLocation
  23. #ifndef __DLGADDLOC_H_
  24. #define __DLGADDLOC_H_
  25. #include "resource.h" // main symbols
  26. #include "DlgBase.h"
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CDlgAddLocation
  29. class CDlgAddLocation :
  30. public CDialogImpl<CDlgAddLocation>
  31. {
  32. public:
  33. CDlgAddLocation();
  34. ~CDlgAddLocation();
  35. enum { IDD = IDD_DLGADDLOCATION };
  36. DECLARE_MY_HELP
  37. // Members
  38. public:
  39. BSTR m_bstrLocation;
  40. // Operations
  41. public:
  42. void UpdateData( bool bSaveAndValidate );
  43. // Implementation
  44. public:
  45. BEGIN_MSG_MAP(CDlgAddLocation)
  46. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  47. COMMAND_ID_HANDLER(IDC_BTN_ADD_NEW_FOLDER, OnOK)
  48. COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
  49. COMMAND_HANDLER(IDC_EDT_LOCATION, EN_CHANGE, OnEdtLocationChange)
  50. MESSAGE_MY_HELP
  51. END_MSG_MAP()
  52. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  53. LRESULT OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  54. LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  55. LRESULT OnEdtLocationChange(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  56. };
  57. #endif //__DLGADDLOC_H_