www.pudn.com > dialogic_IVR.rar > AI2001Dlg.h


// AI2001Dlg.h : header file 
// 
 
#if !defined(AFX_AI2001DLG_H__19A5E7F2_B7FD_4740_8501_D8035D89E8D0__INCLUDED_) 
#define AFX_AI2001DLG_H__19A5E7F2_B7FD_4740_8501_D8035D89E8D0__INCLUDED_ 
 
#include "BtnST.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CAI2001Dlg dialog 
#include "panedlg1.h" 
#include "panedlg2.h" 
#include "panedlg3.h" 
#include "panedlg4.h" 
 
class CAI2001Dlg : public CDialog 
{ 
// Construction 
public: 
 
	CAI2001Dlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CAI2001Dlg) 
	enum { IDD = IDD_AI2001_DIALOG }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAI2001Dlg) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
private: 
	CButtonST m_btnStart;     //Æô¶¯ 
	CButtonST m_btnConsole;   //¼àÊÓ 
	CButtonST m_btnScript;    //½Å±¾  
	CButtonST m_btnSetup; 
	CButtonST m_btnSimuIvr; 
	CButtonST m_btnExit; 
 
	CPaneDlg1 m_sub1Dlg; 
	CPaneDlg2 m_sub2Dlg; 
	CPaneDlg3 m_sub3Dlg; 
	CPaneDlg4 m_sub4Dlg; 
 
 
// Implementation 
protected: 
	HICON m_hIcon; 
	CStatusBarCtrl m_StatusBarCtl; 
 
	// Generated message map functions 
	//{{AFX_MSG(CAI2001Dlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); 
	afx_msg void OnMenuitemOnhook(); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnButtonExit(); 
	afx_msg void OnButtonSetup(); 
	afx_msg void OnButtonStart(); 
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point); 
	afx_msg void OnMove(int x, int y); 
	afx_msg void OnMenuitemScript(); 
	virtual void OnCancel(); 
	afx_msg void OnClose(); 
	afx_msg void OnButtonConsole(); 
	afx_msg void OnButtonScript(); 
	afx_msg void OnMenuitemReset(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnButtonSimuivr(); 
	afx_msg void OnSelchangeTabIvr(NMHDR* pNMHDR, LRESULT* pResult); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#define BEGIN_X 60//240 
#define BEGIN_Y 0//440 
#define INTERVAL_X 60 
#define INTERVAL_Y 60 
#define SCALE 4.16 
 
int PointToChannelNo(CPoint point); 
int ChannelNoToPoint(int iChannelNo, int &x, int &y); 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_AI2001DLG_H__19A5E7F2_B7FD_4740_8501_D8035D89E8D0__INCLUDED_)