#if !defined(AFX_PAGEMDSETTINGS_H__AF84B27D_6D4A_45FC_8264_CADEF18F47BD__INCLUDED_) #define AFX_PAGEMDSETTINGS_H__AF84B27D_6D4A_45FC_8264_CADEF18F47BD__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PageMDSettings.h : header file // ///////////////////////////////////////////////////////////////////////////// // CPageMDSettings dialog #include "ParamDlg.h" class CPageMDSettings : public CParamDlg { // Construction public: CPageMDSettings(CWnd* pParent, CMgrNVE* pMgrCM, CConnectionManager *pConnMgr); // standard constructor // Dialog Data //{{AFX_DATA(CPageMDSettings) enum { IDD = IDD_PG_MD_SETTINGS }; CComboBox m_cbInfoType; CButton m_btnApply; CStatic m_stScale; CButton m_btnEnable; CStatic m_stRes; CStatic m_stMD; CComboBox m_cbLayerID; UINT m_uActivity; UINT m_uThreshold; BOOL m_bEnable; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPageMDSettings) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation BOOL SaveSetting(); BOOL ResetSetting(); BOOL UpdateSetting(); protected: // Generated message map functions //{{AFX_MSG(CPageMDSettings) virtual BOOL OnInitDialog(); afx_msg void OnSelchangeComboMdLayerId(); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnCheckMdEnable(); afx_msg void OnDropdownComboMdLayerId(); afx_msg void OnPaint(); afx_msg void OnBtnMdApply(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: void ClearArea(); BOOL DrawArea(ULONG uLayerID, ULONG uRectID, RECT *pRect); public: ICod5 *m_pCod5Api; IMessageManager *m_pMsgMgr; NVE_MD_INFO m_MDInfo[MAX_LAYER_COUNT]; NVE_MEDIA_SETTINGS *m_pMediaSettings; RECT m_Rect; RECT m_AreaRect[MAX_LAYER_COUNT][MAX_RECT_COUNT]; BOOL m_bDraw[MAX_LAYER_COUNT]; BOOL m_bFirst; float m_fUnit; BOOL m_bBtnDownOk; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PAGEMDSETTINGS_H__AF84B27D_6D4A_45FC_8264_CADEF18F47BD__INCLUDED_)