www.pudn.com > DalsaNetlink.rar > CyDiagnosticInfoDlg.h
#if !defined(AFX_CYDIAGNOSTICINFODLG_H__6D5328F2_6284_4DE2_AC09_8A9330804801__INCLUDED_) #define AFX_CYDIAGNOSTICINFODLG_H__6D5328F2_6284_4DE2_AC09_8A9330804801__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CyDiagnosticInfoDlg.h : header file // #include#include ///////////////////////////////////////////////////////////////////////////// // CyDiagnosticInfoDlg dialog class CyDiagnosticInfoDlg : public CDialog { // Construction public: CyDiagnosticInfoDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CyDiagnosticInfoDlg) enum { IDD = IDD_DIAG_INFO_DIALOG }; CListCtrl mList; //}}AFX_DATA struct Column { std::string mHeader; unsigned long mWidth; std::vector< std::string > mItems; Column() { } Column( const Column& aObj ) { *this = aObj; } Column& operator=( const Column& aObj ) { if ( this != &aObj ) { mHeader = aObj.mHeader; mWidth = aObj.mWidth; mItems.clear(); std::vector< std::string >::const_iterator lItr; for ( lItr = aObj.mItems.begin(); lItr != aObj.mItems.end(); ++lItr ) mItems.push_back( *lItr ); } return *this; } }; std::vector< Column > mData; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CyDiagnosticInfoDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CyDiagnosticInfoDlg) virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CYDIAGNOSTICINFODLG_H__6D5328F2_6284_4DE2_AC09_8A9330804801__INCLUDED_)