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

📄 mssb1dlg.h

📁 1、编制程序显示印章图像(24位真彩色位图); 2、读出位图中每一像素点的(R
💻 H
字号:
// MSSB1Dlg.h : header file
//

#if !defined(AFX_MSSB1DLG_H__CCC18CD2_7EC6_4820_8D7F_4969308028D0__INCLUDED_)
#define AFX_MSSB1DLG_H__CCC18CD2_7EC6_4820_8D7F_4969308028D0__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMSSB1Dlg dialog

#include <vector>
using   namespace   std;

class CMSSB1Dlg : public CDialog
{
// Construction
public:
    
	void GetW(int);
	void DrawXYZ();
	//BYTE *Point2RGB(POINT);
	void readBmp();
	void ShowWindow(int,CString);
	void DrawC(int,int);
	void DrawB(int,int);
	void DrawA(int,int);
	void DrawPattenPoint(COLORREF,int,int);
	void TheClosestClass();
	int m_sel3ClassQuestion;
	int m_selRGB;
	COLORREF color[332][234];
	vector< COLORREF > classOne,classTwo,classThree,classOne1,classTwo1,classThree1;
	float w[3][3];

	CMSSB1Dlg(CWnd* pParent = NULL);	// standard constructor

	CComboBox *pCombox1;
	CComboBox *pCombox2;
    COLORREF cur_color;
	struct clusterMiddle 
	{
		DWORD r;
		DWORD g;
		DWORD b;
		
	} z[2][3];
   
// Dialog Data
	//{{AFX_DATA(CMSSB1Dlg)
	enum { IDD = IDD_MSSB1_DIALOG };
	int		m_r;
	int		m_g;
	int		m_b;
	int		m_y;
	int		m_x;
	int		m_selClassPoint;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMSSB1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton6();
	afx_msg void OnButton2();
	afx_msg void OnButton1();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnSelchangeCombo2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MSSB1DLG_H__CCC18CD2_7EC6_4820_8D7F_4969308028D0__INCLUDED_)

⌨️ 快捷键说明

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