📄 testocxview.h
字号:
// TestOcxView.h : interface of the CTestOcxView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "hvdevice.h"
//}}AFX_INCLUDES
#if !defined(AFX_TESTOCXVIEW_H__85D02E01_D60E_44FD_A4C1_8D256AD27B0D__INCLUDED_)
#define AFX_TESTOCXVIEW_H__85D02E01_D60E_44FD_A4C1_8D256AD27B0D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
const unsigned long TIMERID = 0xa7a3;
const unsigned long TIMERINTERVAL = 1000;
class CTestOcxView : public CFormView
{
protected: // create from serialization only
CTestOcxView();
DECLARE_DYNCREATE(CTestOcxView)
public:
//{{AFX_DATA(CTestOcxView)
enum { IDD = IDD_TESTOCX_FORM };
CHVDevice m_Device;
//}}AFX_DATA
// Attributes
public:
CTestOcxDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestOcxView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTestOcxView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTestOcxView)
afx_msg void OnGrabSingle();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnGrabContinuous();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnGrabContinuousChange();
afx_msg void OnGrabCancel();
afx_msg void OnWhiteBalance();
afx_msg void OnViewProperties();
afx_msg void OnClose();
afx_msg void OnFileSave();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool m_fContinuousGrabActive;
};
#ifndef _DEBUG // debug version in TestOcxView.cpp
inline CTestOcxDoc* CTestOcxView::GetDocument()
{ return (CTestOcxDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTOCXVIEW_H__85D02E01_D60E_44FD_A4C1_8D256AD27B0D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -