MyModemDlg.h
资源名称:112.rar [点击查看]
上传用户:hjb520
上传日期:2022-08-08
资源大小:1251k
文件大小:2k
源码类别:
Windows CE
开发平台:
Visual C++
- // MyModemDlg.h : header file
- //
- #if !defined(AFX_MYMODEMDLG_H__89DD9471_81AE_4446_A76C_1AC205C25A5B__INCLUDED_)
- #define AFX_MYMODEMDLG_H__89DD9471_81AE_4446_A76C_1AC205C25A5B__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMyModemDlg dialog
- class CMyModemDlg : public CDialog
- {
- // Construction
- public:
- CMyModemDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMyModemDlg)
- enum { IDD = IDD_MYMODEM_DIALOG };
- CString m_sCommand;
- CString m_sText;
- CString m_sReceive;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyModemDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- BOOL IsChinesecharacter(BYTE ch);
- void ProcessChar(BYTE* cc,int len,CString& str);
- // Generated message map functions
- //{{AFX_MSG(CMyModemDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSend();
- afx_msg void OnPickup();
- afx_msg void OnSendtext();
- afx_msg void OnSendtext2();
- virtual void OnCancel();
- afx_msg void OnSetfocusEdit1();
- afx_msg void OnSetfocusEdit2();
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYMODEMDLG_H__89DD9471_81AE_4446_A76C_1AC205C25A5B__INCLUDED_)