// ExcelMngDlg.h : Çì´õ ÆÄÀÏ // #pragma once #include "ExcelManager.h" #include "afxwin.h" #include "afxcmn.h" class CExcelMngDlgAutoProxy; // CExcelMngDlg ´ëÈ­ »óÀÚ class CExcelMngDlg : public CDialog { DECLARE_DYNAMIC(CExcelMngDlg); friend class CExcelMngDlgAutoProxy; // »ý¼º public: CExcelMngDlg(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚ virtual ~CExcelMngDlg(); // ´ëÈ­ »óÀÚ µ¥ÀÌÅÍ enum { IDD = IDD_EXCELMNG_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿ø // ±¸Çö protected: CExcelMngDlgAutoProxy* m_pAutoProxy; HICON m_hIcon; BOOL CanExit(); // ¸Þ½ÃÁö ¸Ê ÇÔ¼ö¸¦ »ý¼ºÇß½À´Ï´Ù. virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnClose(); afx_msg void OnBnClickedBtnExcelRead(); virtual void OnOK(); virtual void OnCancel(); afx_msg void OnClickedBtnErrorSave(); afx_msg void OnClickedBtnEmailSend(); afx_msg void OnClickedBtnSaveTxt(); afx_msg void OnSelchangeComboIndex(); DECLARE_MESSAGE_MAP() private: CListCtrl m_listContents; CEdit m_editError; public: void DisplayScript(void); // ÀúÀåµÈ ½ºÅ©¸³Æ®¸¦ ¸®½ºÆ® ÄÁÆ®·Ñ¿¡ º¸¿©ÁØ´Ù. void DisplayScriptError(void); // ÀúÀåµÈ ½ºÅ©¸³Æ®¿¡·¯¸¦ ¿¡µðÆ® ¹Ú½º¿¡ º¸¿©ÁØ´Ù. void SetListControl(void); void SetComboScriptType(void); void SetExcelSelectedArea(void); // ¿¢¼¿¹®¼­Áß ¼±Åÿµ¿ªÀ» ¼³Á¤ÇÑ´Ù. public: CExcelManager m_ExcelMng; CComboBox m_comboIndex; int m_nScriptType; CString m_strSttCol; CString m_strEndCol; int m_nSttRow; int m_nEndRow; int m_nPreColCount; afx_msg void OnEnChangeEditEndCol(); afx_msg void OnEnChangeEditSttCol(); afx_msg void OnEnChangeEditSttRow(); afx_msg void OnEnChangeEditEndRow(); afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedButtonLocationSave(); int m_nSheetNo; };