📄 procdlg.h
字号:
// ProcDlg.h : header file
//
#if !defined(AFX_PROCDLG_H__B9093927_65BE_11D7_88FA_009027E67595__INCLUDED_)
#define AFX_PROCDLG_H__B9093927_65BE_11D7_88FA_009027E67595__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BtnST.h"
#include "Program.h"
/////////////////////////////////////////////////////////////////////////////
// CProcDlg dialog
//#define WM_STEPIT (WM_USER + 0x0708) // user-defined message.
class CProcDlg : public CDialog
{
// Construction
public:
CProcDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CProcDlg)
enum { IDD = IDD_PROC_DIALOG };
CProgressCtrl m_progress;
int m_IPins;
CString m_strChipID;
BOOL m_blVerify;
BOOL blOpenF;
CString m_strCurFile;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProcDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
DWORD H2D(BYTE *s);
char Hex2Bin( WORD * pDataLength, BYTE * TmpDataBuf );
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CProcDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSavefile();
afx_msg void OnExit();
afx_msg void OnWmpin28();
afx_msg void OnRead();
afx_msg void OnWgpin64();
afx_msg void OnOpenfile();
afx_msg void OnWmpin40();
afx_msg void OnWgpin40();
afx_msg void OnVerify();
afx_msg void OnWrite();
afx_msg void OnDestroy();
afx_msg void OnReadid();
afx_msg void OnDispid();
//}}AFX_MSG
afx_msg LRESULT OnStepIt(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
private:
CProgram m_CProgram;
CButtonST m_btnW; //BOTTON ICO
CButtonST m_btnR;
CButtonST m_btnID;
CButtonST m_btnE;
CButtonST m_btnO;
CButtonST m_btnS;
BYTE * m_pDataBuf;
WORD wFileSize;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROCDLG_H__B9093927_65BE_11D7_88FA_009027E67595__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -