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

📄 lcddlg.h

📁 该程序是单片机77E516的升级工具软件
💻 H
字号:
// LCDDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_LCDDLG_H__1A39A074_5CC4_4890_A3CF_5FCF51D5DAC8__INCLUDED_)
#define AFX_LCDDLG_H__1A39A074_5CC4_4890_A3CF_5FCF51D5DAC8__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLCDDlg dialog

class CLCDDlg : public CDialog
{
// Construction
public:
	CLCDDlg(CWnd* pParent = NULL);	// standard constructor
    CString OpenFileName;
	CString m_strTXData;
	
	CString m_strsource;
    CString m_strDestination;
	CString m_channelnumber;
	int NoOf32Bytes;
	bool portopenflag;
	bool flag;
    int OperationType;
	BYTE LcdByte[65536];
	BYTE ReadBuffer[65536];
	int Index; 
	unsigned char second0;
	int FileLen;

// Dialog Data
	//{{AFX_DATA(CLCDDlg)
	enum { IDD = IDD_LCD_DIALOG };
	CComboBox	m_ctrlcombo_comportsetting;
	CComboBox	m_ctrlcombo_port;
	CButton	m_ctrlbtn_download;
	CButton	m_ctrlbtn_port;
	CProgressCtrl	m_progress1;
	CMSComm	m_ctrlComm;
	CString	m_port;
	CString	m_comportsetting;
	CString	m_RxData;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLCDDlg)
	public:

	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLCDDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnOnCommMscomm1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void SendHex(unsigned char data);
	afx_msg void OnPaint() ;
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTTONopenport();
	afx_msg void OnBUTTONclear();
	afx_msg void OnBUTTONopenfile();
	afx_msg void OnBUTTONdownload();
	afx_msg void OnBUTTONISP();
	afx_msg void OnBUTTONExitISP();
	afx_msg void OnBUTTONRead64();
	afx_msg void OnBUTTONRead4();
	afx_msg void OnBUTTONErase();
	afx_msg void OnBUTTONexit();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LCDDLG_H__1A39A074_5CC4_4890_A3CF_5FCF51D5DAC8__INCLUDED_)

⌨️ 快捷键说明

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