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.

47 lines
1.0 KiB

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. #ifndef MOREDLG_HPP_INCLUDED
  3. #define MOREDLG_HPP_INCLUDED
  4. #pragma once
  5. #include "resource.h"
  6. #include "..\Common\WbemPageHelper.h"
  7. #include <chstring.h>
  8. #include "state.h"
  9. //---------------------------------------------------------------------
  10. class MoreChangesDialog : public CDialogImpl<MoreChangesDialog>,
  11. public WBEMPageHelper
  12. {
  13. public:
  14. MoreChangesDialog(WbemServiceThread *serviceThread,
  15. State &state);
  16. virtual ~MoreChangesDialog();
  17. enum ExecuteResult
  18. {
  19. NO_CHANGES,
  20. CHANGES_MADE
  21. };
  22. enum { IDD = IDD_MORE };
  23. BEGIN_MSG_MAP(MoreChangesDialog)
  24. MESSAGE_HANDLER(WM_INITDIALOG, OnInit)
  25. COMMAND_HANDLER(IDC_CHANGE, BN_CLICKED, OnCommand)
  26. END_MSG_MAP()
  27. // Handler prototypes:
  28. LRESULT OnInit(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  29. LRESULT OnCommand(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  30. private:
  31. void enable();
  32. int onOKButton();
  33. State &m_state;
  34. };
  35. #endif MOREDLG_HPP_INCLUDED