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

📄 childview.h

📁 这是在PDA上运行的视频接受
💻 H
字号:
// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDVIEW_H__66C41D65_54F6_49EB_BDB3_661F1A0B9B86__INCLUDED_)
#define AFX_CHILDVIEW_H__66C41D65_54F6_49EB_BDB3_661F1A0B9B86__INCLUDED_

#include "DSocket.h"
#include "Decoder/tmndec.h"

#define IMAGE_WIDTH      320
#define IMAGE_HEIGHT     240

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CChildView window

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

// Attributes
public:

// Operations
public:

public:
	bool _bStart;
	DSocket _skSend;

	SOCKET  _sVideo;
    HANDLE _hVideo;

    unsigned long _threadId;

	static DWORD WINAPI threadVideo(void* param);

	LPBITMAPINFO _bmpinfo;
    CDC* _pDrawDC;
    void DisplayBt(unsigned char *data);
	void DisplayRemoteFrame(unsigned char *data,int size);

    void RestoreWindow();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CChildView();

	// Generated message map functions
public:
	bool m_bFull;
	//{{AFX_MSG(CChildView)
	afx_msg void OnPaint();
	afx_msg void OnConConnect();
	afx_msg void OnConDisconnect();
	afx_msg void OnConFullscreen();

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CHILDVIEW_H__66C41D65_54F6_49EB_BDB3_661F1A0B9B86__INCLUDED_)

⌨️ 快捷键说明

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