testocxview.h
来自「Led识别与统计系统,基于DELPHI 7.0下」· C头文件 代码 · 共 91 行
H
91 行
// 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 + =
减小字号Ctrl + -
显示快捷键?