Windows2003-3790/sdktools/trace/traceview/logsessionoptionsdlg.h
2020-09-30 16:53:55 +02:00

57 lines
1.4 KiB
C++

#pragma once
#include "afxwin.h"
// CLogSessionOptionsDlg dialog
class CLogSessionOptionsDlg : public CDialog
{
DECLARE_DYNAMIC(CLogSessionOptionsDlg)
public:
CLogSessionOptionsDlg(CWnd* pParent, CLogSession *pLogSession);
virtual ~CLogSessionOptionsDlg();
int OnInitDialog();
// Dialog Data
enum { IDD = IDD_LOG_SESSION_OPTIONS_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
CLogSession *m_pLogSession;
LONG m_DisplayEnableFlags; // Enable flags for the log session output
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedLogfileBrowseButton();
afx_msg void OnTcnSelchangeTab1(NMHDR *pNMHDR, LRESULT *pResult);
CButton m_DisplayMaxBuf;
CButton m_DisplayMinBuf;
CButton m_DisplayBufferSize;
CButton m_DisplayFlushTime;
CButton m_DisplayTraceLevel;
CButton m_DisplayDecayTime;
CButton m_DisplayNewFile;
CButton m_DisplayCir;
CButton m_DisplaySeq;
CButton m_DisplayFlags;
CEdit m_LogSessionName;
CEdit m_MaxBufValue;
CEdit m_MinBufValue;
CEdit m_BufferSizeValue;
CEdit m_FlushTimeValue;
CEdit m_TraceLevelValue;
CEdit m_DecayTimeValue;
CEdit m_NewFileValue;
CEdit m_CirValue;
CEdit m_FlagsValue;
CEdit m_LogFileName;
CButton m_AppendToLogFile;
CEdit m_SeqValue;
};