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

📄 attemperdlg.h

📁 有关scan扫描算法的基于MFC的程序
💻 H
字号:
// attemperDlg.h : 头文件
//

#pragma once
#include "afxwin.h"

// CattemperDlg 对话框
class CattemperDlg : public CDialog
{
// 构造
public:
	CattemperDlg(CWnd* pParent = NULL);	// 标准构造函数

// 对话框数据
	enum { IDD = IDD_ATTEMPER_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持


// 实现
protected:
	HICON m_hIcon;

	// 生成的消息映射函数
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedauto();
public:
//	afx_msg void OnEnChangeResult();
public:
	afx_msg void OnEnChangemanageadd();
public:
	bool mathodchose;
public:
	bool mathodmodul;
public:
	afx_msg void OnBnClickedRandom();
public:
	afx_msg void OnBnClickedmanage();
public:
	afx_msg void OnBnClickedunauto();
public:
	afx_msg void OnBnClickedmanageok();
public:
	int i;
public:
	afx_msg void OnEnChangewmanageadd();
public:

	int need;
	int max;

public:
	afx_msg void OnBnClickedOk();
public:
	afx_msg void OnBnClickedRun();
public:
	bool running;
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	afx_msg void OnBnClickedstep();
public:
	int pov;
	CString povv;
	int pp[10000];
	struct abc{
	int num;
	bool sign;
} arra[10000];

//void bubble(abc arra[],int i)
//{
//	abc temp;
//	int segment,loop;
//	for(segment=0;segment<=i-2;segment=segment+1)
//	{
//		for(loop=i-2;loop>=segment;loop=loop-1)
//		{
//			if(arra[loop+1].num<arra[loop].num)
//			{
//				temp=arra[loop];
//				arra[loop]=arra[loop+1];
//				arra[loop+1]=temp;
//			}
//		}
//	}	
//}

public:
	afx_msg void OnBnClickedfstb();
public:
	bool scanoder;
public:
	afx_msg void OnBnClickedfbts();
public:
	afx_msg void OnEnChangepostion();
public:
	int m;
public:
	int finished;
public:
	afx_msg void OnBnClickedPause();
public:
	//afx_msg void OnEnChangeScanning();
public:
	CEdit m_Edit;
protected:
	virtual void OnCancel();
public:
	afx_msg void OnBnClickedsure();
public:
	bool ssure;
public:
	CString number;
public:
	CEdit v_Edit;
public:
	bool modul;
public:
	int mm;
public:
	afx_msg void OnBnClickedRandomOk();
public:
	afx_msg void OnBnClickedReset();
public:
	int tt;
public:
	CString m_sEdit;
public:
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);

public:
	afx_msg void OnAppAbout();
	CSliderCtrl *pSlider;

public:
	afx_msg void OnEnChangeEdit2();
public:
	int rollpos;
public:
	afx_msg void OnNMCustomdrawSlider(NMHDR *pNMHDR, LRESULT *pResult);
public:
	afx_msg void OnEnChangeTimepos();
public:
	CString v_sEdit;
public:
	CString pup;
public:
	CString temp_Edit;
public:
	afx_msg void OnHelp();
};

⌨️ 快捷键说明

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