overlay.h

来自「VC ++ ,远程视频 监控系统...分服务客户端」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_OVERLAY_H__A97F5203_1703_11D2_B64C_000055005701__INCLUDED_)
#define AFX_OVERLAY_H__A97F5203_1703_11D2_B64C_000055005701__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Overlay.h : header file
//
#include ".\av8inc\av8api.h"

/////////////////////////////////////////////////////////////////////////////
// COverlay frame

class COverlay : public CFrameWnd
{
	DECLARE_DYNCREATE(COverlay)
protected:
   HDRVR	g_hVFDrv;
   WORD		wOverlaySrcWidth;
   WORD		wOverlaySrcHeight;
   CMenu	cOverlayMenu;
   int		nScreenX;
   int		nScreenY;
// Attributes
public:
	int		gnPosX, gnPosY;

// Operations
public:
	COverlay( HDRVR	hVFDrv, RECT rectOverlay, WORD wSrcWidth, WORD wSrcHeight);           
	COverlay();	//HDRVR	hVFDrv);						
	BOOL COverlay::SetSrc(WORD wSrcWidth, WORD wSrcHeight);
	virtual ~COverlay();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COverlay)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COverlay)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClose();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OVERLAY_H__A97F5203_1703_11D2_B64C_000055005701__INCLUDED_)

⌨️ 快捷键说明

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