?? writeflashdlg.h
字號:
// writeflashDlg.h : header file
//
#include "SerialPort.h"
#if !defined(AFX_WRITEFLASHDLG_H__4EA0159A_DD9F_46FF_96B1_22B01BFE1B0E__INCLUDED_)
#define AFX_WRITEFLASHDLG_H__4EA0159A_DD9F_46FF_96B1_22B01BFE1B0E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CWriteflashDlg dialog
class CWriteflashDlg : public CDialog
{
// Construction
public:
CWriteflashDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWriteflashDlg)
enum { IDD = IDD_WRITEFLASH_DIALOG };
CComboBox m_combport;
CProgressCtrl m_progress;
CString m_rxdata;
int m_page;
long m_count;
int m_count1;
BYTE m_sendone;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWriteflashDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
CSerialPort m_ComPort;
char m_chChecksum; //用于COM1的校驗和計算
CString m_strRXhhCOM1; //用于存放COM1接收的半BYTE校驗字節hh
CString singlestring; //COM1接收數據
UINT m_nRXErrorCOM1; //COM1接收數據錯誤幀數
UINT m_nRXCounterCOM1; //COM1接收數據錯誤幀數
UINT pagecount,totalpage;
long int totalcount;
char *tempf;
BOOL showflag, oxflag,timeflag,txflag;
long int count;
int incount,bi_count;
int linecount;
int startflag;
int comport;
char senddata[2];
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CWriteflashDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileopen();
afx_msg void OnSelchangeComboport();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCheck();
afx_msg LONG OnCommunication(WPARAM ch, LPARAM port);
afx_msg void OnStop();
afx_msg void OnClear();
afx_msg void OnEnable();
afx_msg void OnNull();
afx_msg void OnWrite();
afx_msg void OnSendone();
afx_msg void OnStopdown();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WRITEFLASHDLG_H__4EA0159A_DD9F_46FF_96B1_22B01BFE1B0E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -