// OPC KonfiguratorView.h : interface of the COPCKonfiguratorView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_OPCKONFIGURATORVIEW_H__DAB05383_813E_4E14_AFBB_6937D92C566F__INCLUDED_) #define AFX_OPCKONFIGURATORVIEW_H__DAB05383_813E_4E14_AFBB_6937D92C566F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "OPC.h" #include "Group2.h" class COPCKonfiguratorView : public CFormView { protected: // create from serialization only COPCKonfiguratorView(); DECLARE_DYNCREATE(COPCKonfiguratorView) public: //{{AFX_DATA(COPCKonfiguratorView) enum { IDD = IDD_OPCKONFIGURATOR_FORM }; CEdit m_txtUnits; CStatic m_txtProjektname; CEdit m_txtProjectname; CEdit m_txtLoad; CComboBox m_cobLift; CStatic m_txtKommnummer; CStatic m_txtGruppenname; CStatic m_txtGruppenanzahl; CEdit m_txtGroupnumber; CEdit m_txtGroupname; CButton m_btnGroupinfos; CEdit m_txtGroupedit; CListCtrl m_lcGroup; CButton m_cbDD; CEdit m_txtCommnumber; CStatic m_txtBuchnummer; CEdit m_txtBooknumber; CButton m_cbPi; CButton m_cbKs; CButton m_cbM10; CButton m_cbSid; //}}AFX_DATA private: CString m_strPath; // Attributes public: COPCKonfiguratorDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(COPCKonfiguratorView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct //}}AFX_VIRTUAL // Implementation public: virtual ~COPCKonfiguratorView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: HICON m_hIcon; //{{AFX_MSG(COPCKonfiguratorView) afx_msg void OnDD(); afx_msg void OnKs(); afx_msg void OnM10(); afx_msg void OnPi(); afx_msg void OnSid(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnDblclkGroup(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG DECLARE_MESSAGE_MAP() enum ContrMode { CM_PI=0, CM_KS=1, CM_M10=2, CM_SID=3, CM_NONE=4 }; // Properties private: BOOL m_bResize; CObList m_oblComm; // Methodes public: void Initialization(); void Resize(); void InitCtrl(); void UpdateList(); void RButton(CGroup* pGroup); }; #ifndef _DEBUG // debug version in OPC KonfiguratorView.cpp inline COPCKonfiguratorDoc* COPCKonfiguratorView::GetDocument() { return (COPCKonfiguratorDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_OPCKONFIGURATORVIEW_H__DAB05383_813E_4E14_AFBB_6937D92C566F__INCLUDED_)