📄 flashispdlg.h
字号:
// FlashISPDlg.h : header file
//
#if !defined(AFX_FLASHISPDLG_H__ACEA0C90_8091_49A3_A865_595BE6BB6E76__INCLUDED_)
#define AFX_FLASHISPDLG_H__ACEA0C90_8091_49A3_A865_595BE6BB6E76__INCLUDED_
#include "ISP\SCOMM.H" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
const UINT WM_MYUPDATEDATA = ::RegisterWindowMessage(_T("MyUpdateData"));
/////////////////////////////////////////////////////////////////////////////
// CFlashISPDlg dialog
class CFlashISPDlg : public CDialog
{
// Construction
public:
int m_iFunc;
CTime m_CTime;
CString m_CStrEncryptFile;
CString m_CStrBoxInfoFile;
CString m_CStrBaudRate;
CString m_CStrPortNum;
UINT SaveIniFile(CStringArray *inifile);
void CFlashISPDlg::StopDownLoad();
void ReadIniFile(CStringArray *inifile);
CString m_CStrIniFileName,m_CStrCurrentPath;
void GetAppPath(CString *filename);
CStringArray m_CStrArrayIni;
CSerial m_ComPort;
// UINT m_iBaudList[]={1200,2400,4800,19200,38400,57600,15200};
UINT m_iBaudRate;
UINT m_iMaxPort;
UINT m_iPort;
CFlashISPDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFlashISPDlg)
enum { IDD = IDD_FLASHISP_DIALOG };
CButton m_ButtonOK;
CComboBox m_BoxBaudRate;
CComboBox m_BoxPort;
CString m_DownLoadFileName;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFlashISPDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CMenu m_Menu;
// Generated message map functions
//{{AFX_MSG(CFlashISPDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBrowe();
afx_msg void OnStart();
afx_msg void OnUpdateMyData(WPARAM wp, LPARAM lp);
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnTest();
afx_msg void OnMenuAbout();
afx_msg void OnErase();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CWinThread *m_pDownLoadThread;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FLASHISPDLG_H__ACEA0C90_8091_49A3_A865_595BE6BB6E76__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -