scmno****@osdn*****
scmno****@osdn*****
2018年 9月 3日 (月) 19:51:28 JST
Revision: 7215 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7215 Author: zmatsuo Date: 2018-09-03 19:51:28 +0900 (Mon, 03 Sep 2018) Log Message: ----------- メッセージを全て実装した # Conflicts: # teraterm/teraterm/vtwin.cpp # teraterm/teraterm/vtwin.h Modified Paths: -------------- branches/cmake/teraterm/teraterm/tekwin_sub.cpp branches/cmake/teraterm/teraterm/tekwin_sub.h -------------- next part -------------- Modified: branches/cmake/teraterm/teraterm/tekwin_sub.cpp =================================================================== --- branches/cmake/teraterm/teraterm/tekwin_sub.cpp 2018-09-03 10:51:24 UTC (rev 7214) +++ branches/cmake/teraterm/teraterm/tekwin_sub.cpp 2018-09-03 10:51:28 UTC (rev 7215) @@ -91,10 +91,14 @@ {} void TTCFrameWnd::OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) -{} +{ + TTCFrameWnd::Proc(WM_SYSKEYDOWN, (WPARAM)nChar, MAKELONG(nRepCnt, nFlags)); +} void TTCFrameWnd::OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) -{} +{ + TTCFrameWnd::Proc(WM_SYSKEYUP, (WPARAM)nChar, MAKELONG(nRepCnt, nFlags)); +} void TTCFrameWnd::OnClose() {} Modified: branches/cmake/teraterm/teraterm/tekwin_sub.h =================================================================== --- branches/cmake/teraterm/teraterm/tekwin_sub.h 2018-09-03 10:51:24 UTC (rev 7214) +++ branches/cmake/teraterm/teraterm/tekwin_sub.h 2018-09-03 10:51:28 UTC (rev 7215) @@ -40,16 +40,17 @@ static const RECT rectDefault; /// virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); -// static LRESULT AfxWndProc(UINT message, WPARAM wParam, LPARAM lParam); /// +#if 1 void OnInitMenuPopup(TTCMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); void OnKillFocus(TTCWnd* pNewWnd); void OnDestroy(); void OnSetFocus(TTCWnd* pOldWnd); void OnSysCommand(UINT nID, LPARAM lParam); + void OnClose(); +#endif void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags); - void OnClose(); }; class TTCPoint {