[Ttssh2-commit] [8346] 無効化されている部分を削除

scmno****@osdn***** scmno****@osdn*****
2019年 10月 30日 (水) 22:31:42 JST


Revision: 8346
          https://osdn.net/projects/ttssh2/scm/svn/commits/8346
Author:   zmatsuo
Date:     2019-10-30 22:31:42 +0900 (Wed, 30 Oct 2019)
Log Message:
-----------
無効化されている部分を削除

- 以前使用していたMFCのコードを無効化した箇所

Modified Paths:
--------------
    trunk/teraterm/ttpmacro/ttmmain.cpp
    trunk/teraterm/ttpmacro/ttmmain.h

-------------- next part --------------
Modified: trunk/teraterm/ttpmacro/ttmmain.cpp
===================================================================
--- trunk/teraterm/ttpmacro/ttmmain.cpp	2019-10-29 13:05:20 UTC (rev 8345)
+++ trunk/teraterm/ttpmacro/ttmmain.cpp	2019-10-30 13:31:42 UTC (rev 8346)
@@ -244,27 +244,6 @@
 	return FALSE;
 }
 
-#if 0
-BEGIN_MESSAGE_MAP(CCtrlWindow, CDialog)
-	//{{AFX_MSG_MAP(CCtrlWindow)
-	ON_WM_CLOSE()
-	ON_WM_DESTROY()
-	ON_WM_ERASEBKGND()
-	ON_WM_PAINT()
-	ON_WM_SIZE()
-	ON_WM_GETMINMAXINFO()
-	ON_WM_QUERYDRAGICON()
-	ON_WM_SYSCOLORCHANGE()
-	ON_WM_TIMER()
-	ON_MESSAGE(WM_USER_DDECMNDEND,OnDdeCmndEnd)
-	ON_MESSAGE(WM_USER_DDECOMREADY,OnDdeComReady)
-	ON_MESSAGE(WM_USER_DDEREADY,OnDdeReady)
-	ON_MESSAGE(WM_USER_MACROBRINGUP,OnMacroBringup)
-	ON_MESSAGE(WM_USER_DDEEND,OnDdeEnd)
-	//}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-#endif
-
 // CCtrlWindow message handler
 
 BOOL CCtrlWindow::OnInitDialog()

Modified: trunk/teraterm/ttpmacro/ttmmain.h
===================================================================
--- trunk/teraterm/ttpmacro/ttmmain.h	2019-10-29 13:05:20 UTC (rev 8345)
+++ trunk/teraterm/ttpmacro/ttmmain.h	2019-10-30 13:31:42 UTC (rev 8346)
@@ -43,19 +43,13 @@
 	int Create();
 	BOOL OnIdle();
 
-// Dialog Data
-	//{{AFX_DATA(CCtrlWindow)
 	enum { IDD = IDD_CTRLWIN };
-	//}}AFX_DATA
 
-	//{{AFX_VIRTUAL(CCtrlWindow)
-	protected:
-	virtual BOOL OnCancel( );
+protected:
+	virtual BOOL OnCancel();
 	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
 	virtual BOOL PostNcDestroy();
 	virtual BOOL OnInitDialog();
-	//	virtual BOOL PreTranslateMessage(MSG* pMsg);		// TODO
-	//}}AFX_VIRTUAL
 	virtual LRESULT DlgProc(UINT msg, WPARAM wp, LPARAM lp);
 
 protected:
@@ -66,23 +60,19 @@
 	LONG m_filename_ratio, m_lineno_ratio;
 	HWND m_hStatus;
 
-	//{{AFX_MSG(CCtrlWindow)
-#define afx_msg
-	afx_msg BOOL OnClose();
-	afx_msg void OnDestroy();
-	afx_msg BOOL OnEraseBkgnd(HDC DC);
-	afx_msg void OnPaint();
-	afx_msg void OnSize(UINT nType, int cx, int cy);
-	afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
-	afx_msg HCURSOR OnQueryDragIcon();
-	afx_msg void OnSysColorChange();
-	afx_msg void OnTimer(UINT_PTR nIDEvent);
-	afx_msg LRESULT OnDdeCmndEnd(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnDdeComReady(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnDdeReady(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnDdeEnd(WPARAM wParam, LPARAM lParam);
-	afx_msg LRESULT OnMacroBringup(WPARAM wParam, LPARAM lParam);
-	//}}AFX_MSG
-//	DECLARE_MESSAGE_MAP()
+	BOOL OnClose();
+	void OnDestroy();
+	BOOL OnEraseBkgnd(HDC DC);
+	void OnPaint();
+	void OnSize(UINT nType, int cx, int cy);
+	void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
+	HCURSOR OnQueryDragIcon();
+	void OnSysColorChange();
+	void OnTimer(UINT_PTR nIDEvent);
+	LRESULT OnDdeCmndEnd(WPARAM wParam, LPARAM lParam);
+	LRESULT OnDdeComReady(WPARAM wParam, LPARAM lParam);
+	LRESULT OnDdeReady(WPARAM wParam, LPARAM lParam);
+	LRESULT OnDdeEnd(WPARAM wParam, LPARAM lParam);
+	LRESULT OnMacroBringup(WPARAM wParam, LPARAM lParam);
 };
 


Ttssh2-commit メーリングリストの案内