chanstatsmalldialog.h

来自「基于dialogic语音卡的IVR系统源代码」· C头文件 代码 · 共 56 行

H
56
字号
// ChanStatDialog.h : header file
//

#ifndef CHAN_STAT_SMALL_DIALOG_DEF
#define CHAN_STAT_SMALL_DIALOG_DEF

/////////////////////////////////////////////////////////////////////////////
// CChanStatSmallDialog dialog
#include "answer.h"
#include "StaticBitmap.h"

class CChanStatSmallDialog : public CDialog
{
// Construction
public:
 	CChanStatSmallDialog(CWnd* pParent = NULL);   // standard constructor
	CChanStatSmallDialog(UINT id, CWnd* pParent = NULL);
  virtual BOOL Create(int chanNum, CWnd* pParent = NULL);
  BOOL Create(UINT id, int chanNum, CWnd* pParent = NULL);
// Dialog Data
	//{{AFX_DATA(CChanStatSmallDialog)
	enum { IDD =  IDD_CHANSTAT_SMALL_DIALOG };
	CStaticBitmap	m_bitmap;
	CStatic	m_static_color;
	CStatic	m_static_chan_num;
	CString	m_chan_num_str;
	//}}AFX_DATA


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

// Implementation
protected:
	CBrush m_green;
  CBrush m_red;
  CBrush *m_color;
	int m_chan_num;

	// Generated message map functions
	//{{AFX_MSG(CChanStatSmallDialog)
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
  afx_msg LPARAM OnDialogicState(WPARAM chanNum, LPARAM state);
  afx_msg LPARAM OnDialogicCode(WPARAM chanNum, LPARAM code);
	DECLARE_MESSAGE_MAP()
};

#endif // (FILE)_DEF

⌨️ 快捷键说明

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