?? smsdlg.h
字號:
// smsDlg.h : header file
//
#if !defined(AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_)
#define AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSmsDlg dialog
#include "smscom.h"
class CSmsDlg : public CDialog
{
// Construction
public:
bool CloseComm();
bool OpenComm(const char *pPort, int nBaudRate, int nParity, int nByteSize, int nStopBits);
CSmsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSmsDlg)
enum { IDD = IDD_SMS_DIALOG };
CButton m_modem;
CButton m_send;
CButton m_handrece;
CButton m_comopen;
CButton m_comclose;
CButton m_clearmobile;
CButton m_clear;
CListCtrl m_list;
CString m_content;
int m_comnumber;
CString m_mobilenumber;
CString m_centernumber;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSmsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
HANDLE m_hCom;
char*m_pcenternumber;
bool ComOpen;
int totalnum;
CString m_temp;
// Generated message map functions
//{{AFX_MSG(CSmsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnComopen();
afx_msg void OnComclose();
afx_msg void OnClear();
afx_msg void OnClearmobile();
afx_msg void OnHandrece();
afx_msg void OnIntroduction();
afx_msg void OnHelptech();
afx_msg void OnSend();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSetnum();
afx_msg void OnModem();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SMSDLG_H__852DD190_3A2D_4953_A922_C536219F4526__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -