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.

39 lines
1.1 KiB

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