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

📄 showleft.h

📁 此代码使用bmp图作为主要界面
💻 H
字号:
#if !defined(AFX_SHOWLEFT_H__3E23A4B3_99A3_4B35_B10B_6B572750F068__INCLUDED_)
#define AFX_SHOWLEFT_H__3E23A4B3_99A3_4B35_B10B_6B572750F068__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CShowLeft window

class CShowLeft : public CWnd
{
// Construction
public:
	CShowLeft();
	int CreateWnd(DWORD dwStyle, CRect &rect, CWnd *pParent, UINT id);
	void SetImage(HBITMAP *hbp);

// Attributes
public:
	PICT_REG m_Picture1[5];
	CRect rect_0;
	CRect rect_1;
	CRect rect_2;
	CRect rect_3;
	CRect rect_4;
	
	CRect rect_all;
	CRect rect_no;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShowLeft)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CShowLeft();

	// Generated message map functions
protected:
	CBitmap m_bpImageWnd;
	CDC m_MemDC;
	CRect m_rcImgWnd;
	bool m_bIsSetImage;
	//{{AFX_MSG(CShowLeft)
	afx_msg void OnPaint();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SHOWLEFT_H__3E23A4B3_99A3_4B35_B10B_6B572750F068__INCLUDED_)

⌨️ 快捷键说明

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