showbmp.h

来自「madaline网络是神经网络中一类重要的类型」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_SHOWBMP_H__9C6D0322_926D_414E_9AAE_0276BB6EAFDB__INCLUDED_)
#define AFX_SHOWBMP_H__9C6D0322_926D_414E_9AAE_0276BB6EAFDB__INCLUDED_
#define WIDTHBYTES(bits) (((bits)+31)/32*4)
#define RECTWIDTH(left,right) (right-left)
#define RECTHEIGHT(top,bottom) (bottom-top)
#include "Dib.h"
#include "malloc.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowBmp.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CShowBmp dialog

class CShowBmp : public CDialog
{
// Construction
public:
	void dongtaifenpei(int n);
	CShowBmp(CWnd* pParent = NULL);   // standard constructor
    CDib*m_pDib;
    int m_Height,m_Width;
	int k;
	BYTE*m_pData;
// Dialog Data
	//{{AFX_DATA(CShowBmp)
	enum { IDD = IDD_DIALOG1 };
	int		m_show;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CShowBmp)
	afx_msg void OnShowbmp();
	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 OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnShuaxin();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SHOWBMP_H__9C6D0322_926D_414E_9AAE_0276BB6EAFDB__INCLUDED_)

⌨️ 快捷键说明

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