📄 mymodemdlg.h
字号:
// 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
#define WM_RECEIVE WM_USER+100
class CMyModemDlg : public CDialog
{
// Construction
public:
double StrtoNumF(CString str);
CMyModemDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyModemDlg)
enum { IDD = IDD_MYMODEM_DIALOG };
CStatic m_pic;
CString m_sCommand;
CString m_sText;
CString m_sReceive;
DWORD m_baud;
CString m_NS;
CString m_WE;
CString m_showj;
CString m_showjf;
CString m_showw;
CString m_wx;
//}}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 void OnChangeEdit3();
// afx_msg void OnButton1();
// afx_msg void OnButton2();
// afx_msg void OnButton3();
// afx_msg void OnButton4();
afx_msg void OnReceive(WPARAM,LPARAM);
//}}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_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -