⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e2prwdlg.h

📁 一款通过并口读写E2P的程序
💻 H
字号:
// E2PRWDlg.h : header file
//

#if !defined(AFX_E2PRWDLG_H__9F3F7C86_9BA8_442D_ABE4_CB5B9BADDA03__INCLUDED_)
#define AFX_E2PRWDLG_H__9F3F7C86_9BA8_442D_ABE4_CB5B9BADDA03__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//const WM_THREADENDED=WM_USER+30;//申明自定义消息常量(1)

#include "e2p.h"
#include "time.h"
#include "IniFile.h"
#include "hexeditctrl.h"
#include "TextProgressCtrl.h"
#include "TrueColorToolBar.h"
//#include <stdlib.h>
//#include<cstdio>
/////////////////////////////////////////////////////////////////////////////
// CE2PRWDlg dialog

class CE2PRWDlg : public CDialog
{
// Construction
public:
	void ShowMsg(CString strMsg);
	void Diaply();
	byte bz;
	CProgressCtrl	m_progress;
	CString sFileName;
	FILE * m_fileOpen;
	//CFile	m_fileOpen;
	CFile	m_fileSave;
	bool OpenFile();
	void write();
	CString m_cString;
	CString FilePath;//文件路径
	CString m_strOpenFile;
	CString m_strOpenFileExt;//文件后缀名
	CIniFile IniFile;
	CE2PRWDlg(CWnd* pParent = NULL);	// standard constructor
	Ce2p E2p;
	//Ci2c i2c;
	//int page;//页大小
	//int size;//总容量大小
// Dialog Data
	//{{AFX_DATA(CE2PRWDlg)
	enum { IDD = IDD_E2PRW_DIALOG };
	CTextProgressCtrl	m_ProgreessCtrl;
	CComboBox	m_combo1;
	CString	m_edit1;
	CString	m_filepath;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CE2PRWDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
//	CStatusBar  m_wndStatusBar;
	CTrueColorToolBar  m_wndToolBar;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CE2PRWDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void WriteButton();
	afx_msg void OnSelchangeCombo1();
	afx_msg void EaseButton();
	afx_msg void ReadButton();
	afx_msg void OpenfileButton();
	afx_msg void SaveFileButton();
	afx_msg void OnClose();
	afx_msg void CheckButton();
	afx_msg void CompButton();
	afx_msg	UINT OnProMsg(WPARAM dwMsg,LPARAM dwMsg2);
	afx_msg void OnButton8();
	afx_msg void OnPress(UINT a);//声明消息映射函数(2)
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_E2PRWDLG_H__9F3F7C86_9BA8_442D_ABE4_CB5B9BADDA03__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -