showfirstright.h

来自「此代码使用bmp图作为主要界面」· C头文件 代码 · 共 71 行

H
71
字号
#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 + =
减小字号Ctrl + -
显示快捷键?