📄 simpledemodlg.h
字号:
// SimpleDemoDlg.h : header file
//
#if !defined(AFX_SIMPLEDEMODLG_H__D79855D4_184C_4A25_BEE7_F58821502F50__INCLUDED_)
#define AFX_SIMPLEDEMODLG_H__D79855D4_184C_4A25_BEE7_F58821502F50__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSimpleDemoDlg dialog
#include <afxmt.h>
class CSimpleDemoDlg : public CDialog
{
// Construction
public:
void MessagePump();
CSimpleDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSimpleDemoDlg)
enum { IDD = IDD_SIMPLEDEMO_DIALOG };
CString m_strDataCoding;
CString m_strPriFlag;
CString m_strDestAddr;
BOOL m_bAutoRecv;
UINT m_nTimes;
CString m_strSentFail;
CString m_strSentSuc;
CString m_strSM_ID;
BOOL m_bNeedReport;
CString m_strRecvData;
CString m_strSendData;
UINT m_nRecvCount;
CString m_strSourceAddr;
CString m_ActiveStatus;
CString m_strMsgType;
CString m_strFeeCode;
CString m_strFeeType;
CString m_strFeeTermID;
CString m_strFixedFee;
CString m_strServiceID;
CString m_strValidTime;
CString m_strAtTime;
DWORD m_SendCount;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSimpleDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
BOOL m_bInited;
// Generated message map functions
//{{AFX_MSG(CSimpleDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnInit();
afx_msg void OnClose();
afx_msg void OnSend();
afx_msg void OnKillfocusSendData();
afx_msg void OnOk();
virtual void OnCancel();
afx_msg void OnCHECKAutoRecv();
afx_msg void OnReceive();
afx_msg void OnActiveTest();
afx_msg void OnChangeAutoSend();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
static DWORD __stdcall SendThread(LPVOID lparam);
static DWORD __stdcall RecvThread(LPVOID lparam);
//send
CMutex m_MuSend;
UINT m_nSent;
BOOL m_bEnoughSendThread;
UINT m_nSentFail;
UINT m_nSentSuc;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SIMPLEDEMODLG_H__D79855D4_184C_4A25_BEE7_F58821502F50__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -