// SampDlg.h : header file // #if !defined(AFX_SAMPDLG_H__44657E98_7AE0_4B28_A4D1_787A821A5845__INCLUDED_) #define AFX_SAMPDLG_H__44657E98_7AE0_4B28_A4D1_787A821A5845__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CSampDlg dialog class CSampDlg : public CDialog { // Construction public: CSampDlg(CWnd* pParent = NULL); // standard constructor void OnOutputClick(int index); void LevelImageClick(int index); CBitmap LowImage, HighImage; unsigned long DeviceIndex; CStatic *LevelImage[16]; BOOL *OutCheck[2]; unsigned short DIOData; bool DoUpdate; // Dialog Data //{{AFX_DATA(CSampDlg) enum { IDD = IDD_SAMP_DIALOG }; CStatic m_image9; CStatic m_image8; CStatic m_image7; CStatic m_image6; CStatic m_image5; CStatic m_image4; CStatic m_image3; CStatic m_image2; CStatic m_image15; CStatic m_image14; CStatic m_image13; CStatic m_image12; CStatic m_image11; CStatic m_image10; CStatic m_image1; CStatic m_image0; BOOL m_output0; BOOL m_output1; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSampDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CSampDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnOutput0(); afx_msg void OnOutput1(); afx_msg void OnImage0(); afx_msg void OnImage1(); afx_msg void OnImage10(); afx_msg void OnImage11(); afx_msg void OnImage12(); afx_msg void OnImage13(); afx_msg void OnImage14(); afx_msg void OnImage15(); afx_msg void OnImage2(); afx_msg void OnImage3(); afx_msg void OnImage4(); afx_msg void OnImage5(); afx_msg void OnImage6(); afx_msg void OnImage7(); afx_msg void OnImage8(); afx_msg void OnImage9(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SAMPDLG_H__44657E98_7AE0_4B28_A4D1_787A821A5845__INCLUDED_)