📄 querydlg.h
字号:
#if !defined(AFX_QUERYDLG_H__E1EC44B1_01DA_4E3A_BE83_4F20652A0924__INCLUDED_)
#define AFX_QUERYDLG_H__E1EC44B1_01DA_4E3A_BE83_4F20652A0924__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryDlg.h : header file
//
#include "BtnST.h"
#include <afxdb.h>
#include "channel.h"
#include "LoginDlg.h"
enum EQueryColumn
{
query_Idx = 0,
query_LineID,
query_CallerID,
query_DTMF,
query_StartDate,
query_StartTime,
query_EndTime,
query_TimeLong,
query_FileName,
query_max
};
/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog
class CQueryDlg : public CDialog
{
// Construction
public:
CChannel * m_pChannel;
void PlayFile( int iIndex );
int m_iIndex;
CString GetPlayFileName( int iIndex );
CString m_strFlielName;
int m_iRedataCount;
CString GetQuerySQL( int ichecktime, int icheckLineID, int icheckPhoneNum );
CQueryDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CQueryDlg)
enum { IDD = IDD_QUERY_DLG };
CButtonST m_btnSelectAll;
CButtonST m_btnPlay;
CButtonST m_btnStop;
CButtonST m_btnExit;
CButtonST m_btnDel;
CButtonST m_btnQuery;
CListCtrl m_listQuery;
CTime m_CTimeStart;
CTime m_CTimeEnd;
CString m_strLineID;
BOOL m_bCheckTime;
BOOL m_bCheckPhone;
BOOL m_bCheckLineID;
CString m_strPhoneNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQueryDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CQueryDlg)
afx_msg void OnButtonQuery();
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnButtonDelete();
afx_msg void OnButtonPlay();
afx_msg void OnButtonStopPlay();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButtonSelectAll();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QUERYDLG_H__E1EC44B1_01DA_4E3A_BE83_4F20652A0924__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -