www.pudn.com > dialogic_IVR.rar > CHANSTATSMALLDIALOG.H


// 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