#pragma once #include "CHCommonControls/GridCtrl.h" #include "CHCommonControls/GridCell.h" #include "CHCommonControls/GridCellCombo.h" #include "CHCommonControls/GridCellCheck.h" #include "afxwin.h" // CDlgRcpGlassInfo ´ëÈ­ »óÀÚÀÔ´Ï´Ù. class CDlgRcpGlassInfo : public CDialog { DECLARE_DYNAMIC(CDlgRcpGlassInfo) public: CDlgRcpGlassInfo(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù. virtual ~CDlgRcpGlassInfo(); // ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù. enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_GLASSINFO }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù. public: virtual BOOL OnInitDialog(); afx_msg void OnBnClickedButtonRcpGlassInfoReset(); afx_msg void OnBnClickedButtonRcpGlassInfoApply(); afx_msg void OnBnClickedRadio(UINT nID); afx_msg void OnEnChangeEditRcpGlasstypeinfoTypeCount(); afx_msg void OnGridDblClick(NMHDR *pNotifyStruct, LRESULT* pResult); DECLARE_MESSAGE_MAP() protected: void DrawConnerCutBmpImage(); void DrawOriginBmpImage(); HBITMAP m_BitmapCorner[4]; HBITMAP m_BitmapSelectCorner[4]; public: // Init Function void InitRcpGlassDirectionInfoControl(); void InitRcpGlassSettingInfoControl(); // Fill Function void FillRcpGlassSettingInfo(); // Update Fuction void UpdateDialogData(); // Apply Function void ApplyRcpGlassOriginSettingInfo(); // Reset Function void ResetRcpGlassOriginSettingInfo(); int m_nRadioCorrnerDir; int m_nRadioOriginDir; CGridCtrl m_ctrlGridGlassSettingInfo; int m_nRcpGlassTypeCount; int m_nCurrentIndex; afx_msg void OnBnClickedButtonRcpGlassinfoFindalign(); afx_msg void OnBnClickedButtonRcpGlassinfoMoveFirstalign(); afx_msg void OnBnClickedButtonRcpGlassinfoMoveSecondalign(); afx_msg void OnBnClickedButtonRcpGlassinfoCaculateOrigin(); };