image.h

来自「遍历文件夹所有的JPG和BMP文件」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_IMAGE_H__2C17CCBD_1B7D_406F_AF0E_F573DD14C7C0__INCLUDED_)
#define AFX_IMAGE_H__2C17CCBD_1B7D_406F_AF0E_F573DD14C7C0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Image.h : header file
//
#include <vector>
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// Image dialog

class Image : public CDialog
{
// Construction
public:
	void Receptname(CString b);

	void GetIndex(int t);
	BOOL InRect(int left, int top, int right, int bottom, int px, int py);
	HBITMAP drow(CString strFileName);
	void Getimagename(CString str);
	Image(CWnd* pParent = NULL);   // standard constructor
	vector<CString> Imagelist;

// Dialog Data
	//{{AFX_DATA(Image)
	enum { IDD = IDD_DIALOG1 };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Image)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnButton8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CBitmap *mycbitmap;
	CBitmap *mycbitmap1;
	HBITMAP myhbitmap;
	HBITMAP myhbitmap1;

};

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

#endif // !defined(AFX_IMAGE_H__2C17CCBD_1B7D_406F_AF0E_F573DD14C7C0__INCLUDED_)

⌨️ 快捷键说明

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