Source code of Windows XP (NT5)
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.

82 lines
2.3 KiB

  1. // OutPage.h : header file
  2. //
  3. #include "common.h"
  4. /////////////////////////////////////////////////////////////////////////////
  5. // COutputPropPage dialog
  6. class COutputPropPage : public CPropertyPage
  7. {
  8. DECLARE_DYNCREATE(COutputPropPage)
  9. // Construction
  10. public:
  11. COutputPropPage();
  12. ~COutputPropPage();
  13. // Dialog Data
  14. //{{AFX_DATA(COutputPropPage)
  15. enum { IDD = IDD_OUTPUT_PAGE };
  16. CString m_OutputFileName;
  17. DWORD m_RenameInterval;
  18. CString m_BaseFileName;
  19. int m_AutoNameIndex;
  20. int m_LogFileTypeIndex;
  21. int m_RenameUnitsIndex;
  22. CString m_szLogDirectory;
  23. CString m_szCmdFilename;
  24. int m_ExecuteCmd;
  25. //}}AFX_DATA
  26. BOOL IsWildcardLogFileType (void);
  27. // Overrides
  28. // ClassWizard generate virtual function overrides
  29. //{{AFX_VIRTUAL(COutputPropPage)
  30. public:
  31. virtual void OnCancel();
  32. virtual void OnOK();
  33. virtual BOOL OnQueryCancel();
  34. virtual BOOL OnKillActive();
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(COutputPropPage)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnAutomaticName();
  44. afx_msg void OnManualName();
  45. afx_msg void OnSelchangeAutoNameCombo();
  46. afx_msg void OnChangeBaseFilenameEdit();
  47. afx_msg void OnBrowseOutputFile();
  48. afx_msg void OnSelchangeLogFiletype();
  49. afx_msg void OnSelchangeRenameUnits();
  50. afx_msg void OnDeltaposSpinRenameInterval(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnChangeOutputFileEdit();
  52. afx_msg void OnChangeRenameInterval();
  53. afx_msg void OnUpdateBaseFilenameEdit();
  54. afx_msg void OnBrowseFolder();
  55. afx_msg void OnExecuteCheck();
  56. afx_msg void OnBrowseCmdFile();
  57. afx_msg void OnChangeCmdFilename();
  58. //}}AFX_MSG
  59. afx_msg LRESULT OnQuerySiblings (WPARAM wParam, LPARAM lParam);
  60. DECLARE_MESSAGE_MAP()
  61. void InitDialogData(void);
  62. void AutoManualEnable (BOOL bAutomatic);
  63. void UpdateSampleFilename();
  64. BOOL IsDirPathValid (LPCTSTR szPath,
  65. BOOL bLastNameIsDirectory,
  66. BOOL bCreateMissingDirs);
  67. HKEY m_hKeyLogSettingsDefault;
  68. HKEY m_hKeyLogSettings;
  69. HKEY m_hKeyLogService;
  70. BOOL m_bFileNameChanged;
  71. BOOL m_bInitialized;
  72. };
  73.