📄 staticdlg.h
字号:
// StaticDlg.h : header file
//
#if !defined(AFX_STATICDLG_H__9BEEEF17_EF19_4CC4_9024_2331340A25C7__INCLUDED_)
#define AFX_STATICDLG_H__9BEEEF17_EF19_4CC4_9024_2331340A25C7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CStaticDlg dialog
class CStaticDlg: public CDialog
{
// Construction
public:
int m_exposureT;
int m_lineTime;
// CString m_strLineP;
int m_refValue;
int m_gainValue;
CStaticDlg(CWnd* pParent = NULL); // standard constructor
//~CStaticDlg(CWnd* pParent = NULL);
char m_gainStr[21];
char m_refStr[21];
//CString m_strLineP;
//CString m_strExposureT;
char m_strLineP[10];
char m_strExposureT[10];
bool m_singleGrab;
bool m_continuouslyGrab;
bool m_grabSave;
// Dialog Data
//{{AFX_DATA(CStaticDlg)
enum { IDD = IDD_STATIC_DIALOG };
CComboBox m_exposureTime;
CComboBox m_linePeriod;
CEdit m_editWindow;
CSliderCtrl m_sliderRef;
CSliderCtrl m_sliderGain;
CStatic m_dispWindow;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStaticDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CStaticDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOk();
afx_msg void OnCustomdrawSlidergain(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnQuit();
afx_msg void OnCustomdrawSliderref(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnReleasedcaptureSlidergain(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnReleasedcaptureSliderref(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnReplaycontinuously();
afx_msg void OnReplaysingle();
afx_msg void OnSave();
afx_msg void OnSingle();
afx_msg void OnContinue();
afx_msg void OnZengliang();
afx_msg void OnJunheng();
afx_msg void OnErzhihua();
afx_msg void OnSelchangeComboexptime();
afx_msg void OnSelchangeCombolinep();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STATICDLG_H__9BEEEF17_EF19_4CC4_9024_2331340A25C7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -