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.

40 lines
1.2 KiB

  1. #pragma once
  2. class CLoadPackage : public CPropertyPageImpl<CLoadPackage>
  3. {
  4. typedef CPropertyPageImpl<CLoadPackage> BaseClass;
  5. public:
  6. enum{ IDD = IDD_WPIMP_LOADPKG };
  7. BEGIN_MSG_MAP(CLoadPackage)
  8. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  9. COMMAND_ID_HANDLER( IDC_BROWSE, OnBrowse )
  10. COMMAND_CODE_HANDLER( EN_CHANGE, OnEditChange )
  11. CHAIN_MSG_MAP(BaseClass)
  12. END_MSG_MAP()
  13. CLoadPackage ( CWizardSheet* pTheSheet );
  14. BOOL OnSetActive ( void );
  15. LRESULT OnInitDialog ( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
  16. LRESULT OnBrowse ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  17. LRESULT OnEditChange ( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
  18. int OnWizardNext ( void );
  19. int OnWizardBack ( void );
  20. // Shared data
  21. public:
  22. CString m_strFilename;
  23. CString m_strPassword;
  24. // Data members
  25. private:
  26. CWizardSheet* m_pTheSheet;
  27. CString m_strTitle;
  28. CString m_strSubTitle;
  29. CEdit m_editPwd;;
  30. CEdit m_editPkgName;
  31. };