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

📄 myapp1dlg.h

📁 上位机软件 for 自制AT89C51/52编程器
💻 H
字号:
// MYAPP1Dlg.h : header file
//

#if !defined(AFX_MYAPP1DLG_H__C12457FA_74A7_4C0A_BFD9_714D36B94A83__INCLUDED_)
#define AFX_MYAPP1DLG_H__C12457FA_74A7_4C0A_BFD9_714D36B94A83__INCLUDED_

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

#include "CN_COM.h"

/////////////////////////////////////////////////////////////////////////////
// CMYAPP1Dlg dialog

class CMYAPP1Dlg : public CDialog
{
// Construction
public:
	void DisplayMessage(DWORD d);
	BOOL ISONCOMRECV;
	BOOL WAIT_OVER;
	void StopWait();
	void StartWait(UINT ms);
//	int  m_nWaitOver;
	void DisplayMessage(CString s,char enter); 
	bool GetOneChar(char *c);
	BOOL SetLength(DWORD len);
	CMYAPP1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMYAPP1Dlg)
	enum { IDD = IDD_MYAPP1_DIALOG };
	CProgressCtrl	m_nProgress;
	CButton	m_opens;
	CString	m_edit1;
	int		m_edit1line;
	BOOL	m_check1;
	BOOL	m_check2;
	BOOL	m_check3;
	int		m_radio1;
	CString	m_combo1;
	CString	m_edit2;
	CString	m_edit3;
	cnComm  com;
	int     m_nTimer;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMYAPP1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpens();
	afx_msg void OnCheck3();
	afx_msg void OnClickList3(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton1();
	afx_msg void OnButton3();
	afx_msg void OnCommRecv(WPARAM wParam, LPARAM lParam);
	afx_msg void OnButton2();
	afx_msg void OnButton4();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnChangeEdit3();
	afx_msg void OnChangeEdit2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MYAPP1DLG_H__C12457FA_74A7_4C0A_BFD9_714D36B94A83__INCLUDED_)

⌨️ 快捷键说明

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