📄 duanxindlg.h
字号:
// DuanXinDlg.h : header file
//
#if !defined(AFX_DUANXINDLG_H__0F474570_AB3A_4826_B922_915CB0D2962D__INCLUDED_)
#define AFX_DUANXINDLG_H__0F474570_AB3A_4826_B922_915CB0D2962D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define MAX_LEN 1024
#include "MyRecordset.h"
////////////////////////////////////////////////////////////////////////////
// CDuanXinDlg dialog
class CDuanXinDlg : public CDialog
{
// Construction
public:
void MyCheckSecret();
void Add_Mobile(char * mobile);
CDuanXinDlg(CWnd* pParent = NULL); // standard constructor
char mobile[21];
// Dialog Data
//{{AFX_DATA(CDuanXinDlg)
enum { IDD = IDD_DUANXIN_DIALOG };
CButton m_Button;
CListBox m_LIST;
CEdit m_PORT;
CEdit m_INFORMATON;
CEdit m_ADDRESS;
CEdit m_MOBILE;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDuanXinDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
typedef struct mobile
{
char sz_mobile[21];
struct mobile * next;
}MOBILE;
MOBILE * p_head;
FILE * head_fp;
// Generated message map functions
//{{AFX_MSG(CDuanXinDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAddMobile();
afx_msg void OnReverMobile();
afx_msg void OnConnect();
afx_msg void OnOpenFileDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DUANXINDLG_H__0F474570_AB3A_4826_B922_915CB0D2962D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -