#pragma once #include "CHCommonControls/GridCtrl.h" #include "afxwin.h" #define MEASURE_INFO_GRID_COL_COUNT 8 // CDlgMeasure ´ëÈ­ »óÀÚÀÔ´Ï´Ù. class CDlgMeasure : public CDialog { DECLARE_DYNAMIC(CDlgMeasure) public: CDlgMeasure(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù. virtual ~CDlgMeasure(); public: void InitMeasureInfoGridControl(); void FillMeasureInfo(); void UpdateDialogData(); // ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù. enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_MEASURE }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù. DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); virtual BOOL PreTranslateMessage(MSG* pMsg); afx_msg void OnBnClickedButtonRcpMeasureReset(); afx_msg void OnBnClickedButtonRcpMeasureApply(); afx_msg void OnEnChangeEditRcpMeasureCount(); afx_msg void OnEnChangeEditRcpResultCount(); afx_msg void OnEnChangeEditRcpModuleCount(); afx_msg void OnBnClickedButtonGlassPosSet(); afx_msg void OnGridClick(NMHDR *pNotifyStruct, LRESULT* pResult); afx_msg void OnTimer(UINT_PTR nIDEvent); CGridCtrl m_ctrlGridMeasureInfo; CString m_strStdCameraGlassPosX; CString m_strStdCameraGlassPosY; int m_nModuleCount; int m_nResultCount; int m_nMeasureCount; int m_nSelectResultIdx; int m_nUserGlassCount; CComboBox m_ctrlGlassOriginDir; afx_msg void OnBnClickedButtonSetAllModel(); afx_msg void OnBnClickedButtonSetAllMagnific(); afx_msg void OnBnClickedButtonSetAllLight(); };