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

📄 simplecaidlg.h

📁 我要下载源代码我要源代码我要下载代码我要下载源代码
💻 H
字号:
// SimpleCAIDlg.h : header file
//

#if !defined(AFX_SIMPLECAIDLG_H__A461D2DF_340A_11D6_AAE6_ECD032535971__INCLUDED_)
#define AFX_SIMPLECAIDLG_H__A461D2DF_340A_11D6_AAE6_ECD032535971__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSimpleCAIDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CSimpleCAIDlg)
	enum { IDD = IDD_SIMPLECAI_DIALOG };
	CEdit	m_edtTemp;
	CEdit	m_edtY;
	CEdit	m_edtX;
	CEdit	m_edtB;
	CEdit	m_edtA;
	CStatic	m_stcAddrB;
	CStatic	m_stcAddrA;
	CButton	m_btnCode2;
	CButton	m_btnCode1;
	CButton	m_btnStop;
	CButton	m_btnStep;
	CStatic	m_stcLableY;
	CStatic	m_stcLableX;
	CStatic	m_stcLableTemp;
	CStatic	m_stcLableB;
	CStatic	m_stcLableA;
	CEdit	m_edtCode;
	CString	m_strEditCode;
	CString	m_strAddrA;
	CString	m_strAddrB;
	CString	m_strA;
	CString	m_strB;
	CString	m_strX;
	CString	m_strY;
	CString	m_strTemp;
	//}}AFX_DATA

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

// Implementation

protected:
	HICON m_hIcon;

	int m_nCodeNumber;
	int m_nCodeLine;
	CString m_strMain;
	CString m_strSwap;
	CString m_strRemainCode;
	int m_nStarCharIndex;
	int m_nEndCharIndex;

	int m_nStatus;  // 0:无程序,1:未运行,2:正在运行

	CRect m_rctWindow;
	COLORREF rgbColor;

	// Generated message map functions
	//{{AFX_MSG(CSimpleCAIDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonCode1();
	afx_msg void OnButtonCode2();
	afx_msg void OnButtonStep();
	afx_msg void OnButtonStop();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMove(int x, int y);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	void Reset();
	void SetCode(int codeNumber);
	void MoveAXBY(CClientDC *pDC, int codeNumber);
	void MoveXTemp(CClientDC *pDC);
	void MoveYX(CClientDC *pDC);
	void MoveTempY(CClientDC *pDC);
	void MoveATemp(CClientDC *pDC);
	void MoveBA(CClientDC *pDC);
	void MoveTempB(CClientDC *pDC);
	void OutputAB(CClientDC *pDC);
	void OutputClear(CClientDC *pDC);
	void ClearLine(); 

};

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

#endif // !defined(AFX_SIMPLECAIDLG_H__A461D2DF_340A_11D6_AAE6_ECD032535971__INCLUDED_)

⌨️ 快捷键说明

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