⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 querydlg.h

📁 话费语音查询及点歌软件.C++ 语言编写的.一款很有意思的小软件
💻 H
字号:
// QueryDlg.h : header file
//
//{{AFX_INCLUDES()
//}}AFX_INCLUDES

#if !defined(AFX_QUERYDLG_H__10720067_5699_11D6_85E7_009027229064__INCLUDED_)
#define AFX_QUERYDLG_H__10720067_5699_11D6_85E7_009027229064__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CallerInfoTable.h"
#include "DJCard.h"	// Added by ClassView
#include "sddf.h"	// Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog

class CQueryDlg : public CDialog
{
// Construction
public:
	CString m_strRecordFileName[8];
	BOOL m_bIsIndexPlaying[8];
	CString strConnection;
	CDJCard m_djcard;
	DTMFCHAR dtmfchar[8];
	CString strFileName[8];
	BOOL bIsRecording[8];//the status of channel is on recording a file or not
	CString FloatToString(float fv);
	void PlayANumber(short ch,CString Number);
	CString QueryCost(CString Caller,CString startdt,CString enddt,CString costype,int chan,int duty=1);
	BOOL ScreenStatus();//refresh the show 
	BOOL ResetChannel(short chan);
	CALLERINFO callerinfoofch[8];//save the callerid and passwor from the user input;
	CALLERINFO callerinfo[1000];//save the callerid and password from database table
	CHANNELSTATUS channelstatus[8];//the channel is used or not ; the used channel step of work
	QUERYINFO queryinfo[8];//the date of start and end `the call type  for call (cost) query  
	int m_iCallerNumber;
	CString enddate[8];

	CString startdate[8];
	CString costtype[8];
	BOOL UpdateCallerInfo(CString callerid,CString password);
	CString m_strRecDTMF[8];
	CString m_strDuty[8];
	CQueryDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CQueryDlg)
	enum { IDD = IDD_QUERY_DIALOG };
	CString	m_strStatus0;
	CString	m_strStatus1;
	CString	m_strStatus2;
	CString	m_strStatus3;
	CString	m_strStatus4;
	CString	m_strStatus5;
	CString	m_strStatus6;
	CString	m_strStatus7;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CQueryDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	void OnOnReceiveDTMFDmfax1(short ChannelNo, char DTMFBuf);

	// Generated message map functions
	//{{AFX_MSG(CQueryDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	DECLARE_EVENTSINK_MAP()
	//}}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__10720067_5699_11D6_85E7_009027229064__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -