
// ComSampleDlg.h : wb_[ t@C
//

#pragma once


// CComSampleDlg _CAO
class CComSampleDlg : public CDialogEx
{
// RXgNV
public:
	CComSampleDlg(CWnd* pParent = NULL);	// WRXgN^[

// _CAO f[^
	enum { IDD = IDD_COMSAMPLE_DIALOG };

	CComboBox	m_ComPort;
	CEdit		m_Text;
	CButton		m_OpenButton;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV T|[g


// 
protected:
	HICON m_hIcon;

	// ꂽAbZ[W蓖Ċ֐
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	void TcharToChar(const TCHAR* tchar, char* _char);
	void CharToTchar(const char* _char, TCHAR* tchar);
	afx_msg void OnBnClickedOpenbutton();
	afx_msg void OnBnClickedEndbutton();
	afx_msg BOOL PreTranslateMessage(MSG* pMsg);
};
