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

📄 showfirstright.h

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowFirstRight.h : header file
//
#include "buttonwnd.h"
#include "HikVisionSdk.h"
/////////////////////////////////////////////////////////////////////////////
// CShowFirstRight window

class CShowFirstRight : public CWnd
{
// Construction
public:
	CShowFirstRight();

// Attributes
public:

// Operations
public:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShowFirstRight)
	public:
	virtual BOOL Create(DWORD dwStyle, CRect& rect, CWnd* pParent, UINT id);
	//}}AFX_VIRTUAL

// Implementation
public:
	void OnSelect(int num);
	void SetImage(HBITMAP *hbp);
	virtual ~CShowFirstRight();

	// Generated message map functions
protected:
	CRect m_rcImgWnd;
	CDC m_MemDC;
	HBITMAP m_bitmap1;

	PICT_REG m_MainPicture[6];
	CRect main_rectBT0;
	CRect main_rectBT1;
	CRect main_rectBT2;
	CRect main_rectBT3;
	CRect main_rectBT4;
	CRect main_rectBT5;

	CRect rect_all;
	CRect rect_no;

	CBitmap m_bpImageWnd;
	bool m_bIsSetImage;
	//{{AFX_MSG(CShowFirstRight)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg void OnMyMessage(int BT_IDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SHOWFIRSTRIGHT_H__932B292C_7CDB_4AD7_AFD2_071B016B742F__INCLUDED_)

⌨️ 快捷键说明

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