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

📄 imgwnd.h

📁 change the size of the picture
💻 H
字号:
#if !defined(AFX_IMGWND_H__03C774F0_6584_11D6_8F32_00E04CE76240__INCLUDED_)
#define AFX_IMGWND_H__03C774F0_6584_11D6_8F32_00E04CE76240__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CImgWnd window
#define STRECH_1_1		0
#define STRECH_FULL_X	1
#define STRECH_FULL_Y   2
#define STRECH_FULL		3
#define STRECH_CENTER   4

class CImgWnd : public CStatic
{
// Construction
public:
	CImgWnd();
	void SetImage(UINT resID);
	void SetStrechType(int nStrechType);
// Attributes
protected:
	CBitmap m_bmpImage;
	int m_nStrechType;
	CRect m_rcSrc;
	CRect m_rcDst;
// Operations
public:
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CImgWnd)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CImgWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CImgWnd)
	afx_msg void OnPaint();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_IMGWND_H__03C774F0_6584_11D6_8F32_00E04CE76240__INCLUDED_)

⌨️ 快捷键说明

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