
// EventDlg.h : header file
//

#pragma once


// CEventDlg dialog
class CEventDlg : public CDialogEx
{
// Construction
public:
	CEventDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_EVENT_DIALOG };
	CEdit	m_TextBankNo;
	CButton	m_CheckBank;
	CEdit	m_DeviceName;
	CComboBox	m_ComboTargetAxis;
	CButton	m_CheckStop;
	CButton	m_CheckOutPulse;
	CEdit	m_Text_OutPulse;
	CStatic	m_TextComment;
	CButton	m_CheckCountPulse;
	CEdit	m_Text_CountPulse;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;
	void DispComment(TCHAR *func, TCHAR *msg);

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnEnChangeDeviceName();
	afx_msg void OnCbnSelchangeComboTargetAxis();
	afx_msg void OnBnClickedCheckStop();
	afx_msg void OnBnClickedCheckBank();
	afx_msg void OnBnClickedCheckOutpulse();
	afx_msg void OnBnClickedCheckCountpulse();
	afx_msg void OnEnChangeTextOutpulse();
	afx_msg void OnEnChangeTextCountpulse();
	afx_msg void OnBnClickedOk();
	afx_msg LRESULT Stop_CMessage(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT Bank_CMessage(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OutPulse_CMessage(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT CountPulse_CMessage(WPARAM wParam, LPARAM lParam);
};
