www.pudn.com > DalsaNetlink.rar > CySignalDialog.h


#if !defined(AFX_CYSIGNALDIALOG_H__1510E2EC_F346_4F32_9E10_2D6A633ADD32__INCLUDED_) 
#define AFX_CYSIGNALDIALOG_H__1510E2EC_F346_4F32_9E10_2D6A633ADD32__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// CySignalDialog.h : header file 
// 
 
class CyAcquisitionPage; 
 
///////////////////////////////////////////////////////////////////////////// 
// CySignalDialog dialog 
 
class CyGrabber; 
 
class CySignalDialog : public CDialog 
{ 
// Construction 
public: 
	CySignalDialog( CWnd* pParent, 
                    CyAcquisitionPage& aOwner );   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CySignalDialog) 
	enum { IDD = IDD_SIGNAL_DIALOG }; 
	CEdit	mGranularityText; 
	CSliderCtrl	mGranularitySlider; 
	CEdit	mDelayText; 
	CSliderCtrl	mDelaySlider; 
	CEdit	mWidthText; 
	CSliderCtrl	mWidthSlider; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CySignalDialog) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CySignalDialog) 
	virtual BOOL OnInitDialog(); 
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); 
	afx_msg void OnClose(); 
	//}}AFX_MSG 
 
	afx_msg void OnReleasedcaptureSlider(NMHDR* pNMHDR, LRESULT* pResult); 
    DECLARE_MESSAGE_MAP() 
 
private: 
    CyGrabber&                 mGrabber; 
    CyAcquisitionPage&         mOwner; 
 
    bool                       mPeriodic; 
    bool                       mTrigger; 
 
    void    UpdateText(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CYSIGNALDIALOG_H__1510E2EC_F346_4F32_9E10_2D6A633ADD32__INCLUDED_)