www.pudn.com > DalsaNetlink.rar > CyTimeoutDialog.h
#if !defined(AFX_CYTIMEOUTDIALOG_H__E57C14CA_A5BA_44CC_A778_50D3753645B0__INCLUDED_)
#define AFX_CYTIMEOUTDIALOG_H__E57C14CA_A5BA_44CC_A778_50D3753645B0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CyTimeoutDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CyTimeoutDialog dialog
class CyTimeoutDialog : public CDialog
{
// Construction
public:
CyTimeoutDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CyTimeoutDialog)
enum { IDD = IDD_TIMEOUT_DLG };
CButton mLineScanControl;
CSpinButtonCtrl mLineCountSpin;
CStatic mLineCountText;
CEdit mLineCountControl;
CEdit mWaitTimeControl;
CEdit mPacketSizeControl;
CComboBox mLinkTypeControl;
CEdit mImageSizeControl;
CSpinButtonCtrl mWaitTimeSpin;
CSpinButtonCtrl mPacketSizeSpin;
CSpinButtonCtrl mImageSizeSpin;
UINT mFirstPacketTimeout;
UINT mImageSize;
int mLinkType;
UINT mPacketTimeout;
UINT mRequestTimeout;
UINT mPacketSize;
UINT mMaxTime;
BOOL mLineScan;
UINT mLineCount;
//}}AFX_DATA
void ComputeTimeouts();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CyTimeoutDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CyTimeoutDialog)
virtual BOOL OnInitDialog();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
//}}AFX_MSG
afx_msg void OnControlChanged();
DECLARE_MESSAGE_MAP()
private:
bool mInitialized;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CYTIMEOUTDIALOG_H__E57C14CA_A5BA_44CC_A778_50D3753645B0__INCLUDED_)