?? aftntransdlg.h
字號:
// AFTNTransDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#include "PushPinButton.h"
#include "TelThread.h"
#define WM_TELRV WM_USER+100
#if !defined(AFX_AFTNTRANSDLG_H__7393C8C2_2CB2_11D6_9399_005004BE5A85__INCLUDED_)
#define AFX_AFTNTRANSDLG_H__7393C8C2_2CB2_11D6_9399_005004BE5A85__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAFTNTransDlg dialog
class CAFTNTransDlg : public CDialog
{
// Construction
public:
CBitmap m_BitmapLights[3];
CAFTNTransDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAFTNTransDlg)
enum { IDD = IDD_AFTNTRANS_DIALOG };
CPushPinButton m_ctrlPushPin;
CString m_strRxData;
CMSComm m_ctrlComm;
BOOL m_bConnected;
BOOL m_bLock;
CString m_strTxData;
BOOL m_bAutoClear;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAFTNTransDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAFTNTransDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnDestroy();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
afx_msg void OnAftnComm();
afx_msg void OnConnect();
afx_msg void OnButtonClear();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnChkLock();
afx_msg void OnButtonSend();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_sChannel;
LONG m_nTxCount;
BYTE rxdata[2048];
CBitmap* pBitmap;
CTelThread* m_pTelThread;
};
typedef struct _COMMINFO
{
BOOL bConnected;
int bPort;
BYTE bByteSize, bParity, bStopBits;
DWORD dwBaudRate ;
}CommInfo,*PCommInfo;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
static VARIANT variant_inp;
static COleSafeArray safearray_inp;
static long len,k;
static CString strtemp;
static CString strtemp1;
static CString strTxRv;
static CString strTelRv;
static BOOL bValid;
static CString strTele;
#endif // !defined(AFX_AFTNTRANSDLG_H__7393C8C2_2CB2_11D6_9399_005004BE5A85__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -