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

📄 maindlg.h

📁 嵌入式DOS系统上位升级程序FileUpgrade, 需配合本人上传的FileUpr程序应用, VC++开发, 非常实用, 内附说明及源码
💻 H
字号:
// MainDlg.h : header file
//

#if !defined(AFX_MAINDLG_H__EAF537E1_CB8B_4676_99D9_AF9C822868E7__INCLUDED_)
#define AFX_MAINDLG_H__EAF537E1_CB8B_4676_99D9_AF9C822868E7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "NumericalEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialog

class CMainDlg : public CDialog
{
// Construction
public:
	CMainDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMainDlg)
	enum { IDD = IDD_MY_DIALOG };
	CEdit	m_FileNameEditCtrl;
	//}}AFX_DATA

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMainDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeBaudRatioComboBox();
	afx_msg void OnSelchangeCommPortNo();
	virtual void OnOK(){};
	virtual void OnCancel(){};
	afx_msg void OnExit();
	afx_msg void OnBeginSendFile();
	afx_msg void OnStopBUTTON();
	afx_msg void OnButton1();
	afx_msg void OnWorkModelCHECK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int GetTransferFileName();
	CNumericalEdit	m_UprComputerNoEditCtrl;
	CWinThread* m_SendThread;
	long int GetBaudRate();
	void  UpgradeEnd();
	void  UpgradeStart();
	static UINT SendFileThreadProc( LPVOID pParam );

};

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

#endif // !defined(AFX_MAINDLG_H__EAF537E1_CB8B_4676_99D9_AF9C822868E7__INCLUDED_)

⌨️ 快捷键说明

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