• R/O
  • SSH
  • HTTPS

ttssh2: 提交


Commit MetaInfo

修订版8680 (tree)
时间2020-04-11 01:33:09
作者zmatsuo

Log Message

IME 前後参照変換がうまく動作していなかった

- r8526
- OnMouseActivate() の戻り値を int から LRESULT に変更

MTF: r8677

更改概述

差异

--- branches/4-stable/teraterm/teraterm/vtwin.cpp (revision 8679)
+++ branches/4-stable/teraterm/teraterm/vtwin.cpp (revision 8680)
@@ -2408,7 +2408,7 @@
24082408 }
24092409 }
24102410
2411-int CVTWindow::OnMouseActivate(HWND pDesktopWnd, UINT nHitTest, UINT message)
2411+LRESULT CVTWindow::OnMouseActivate(HWND pDesktopWnd, UINT nHitTest, UINT message)
24122412 {
24132413 if ((ts.SelOnActive==0) && (nHitTest==HTCLIENT)) { //disable mouse event for text selection
24142414 IgnoreRelease = TRUE;
@@ -6502,7 +6502,7 @@
65026502 OnIMENotify(wp, lp);
65036503 break;
65046504 case WM_IME_REQUEST:
6505- OnIMERequest(wp, lp);
6505+ retval = OnIMERequest(wp, lp);
65066506 break;
65076507 case WM_WINDOWPOSCHANGING:
65086508 OnWindowPosChanging(wp, lp);
--- branches/4-stable/teraterm/teraterm/vtwin.h (revision 8679)
+++ branches/4-stable/teraterm/teraterm/vtwin.h (revision 8680)
@@ -103,7 +103,7 @@
103103 void OnLButtonUp(WPARAM nFlags, POINTS point);
104104 void OnMButtonDown(WPARAM nFlags, POINTS point);
105105 void OnMButtonUp(WPARAM nFlags, POINTS point);
106- int OnMouseActivate(HWND pDesktopWnd, UINT nHitTest, UINT message);
106+ LRESULT OnMouseActivate(HWND pDesktopWnd, UINT nHitTest, UINT message);
107107 void OnMouseMove(WPARAM nFlags, POINTS point);
108108 void OnMove(int x, int y);
109109 BOOL OnMouseWheel(UINT nFlags, short zDelta, POINTS pt);
Show on old repository browser