Skip to content

Commit

Permalink
English support
Browse files Browse the repository at this point in the history
  • Loading branch information
itagagaki committed Jul 1, 2023
1 parent b53a726 commit a1f654a
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 195 deletions.
42 changes: 21 additions & 21 deletions Charu3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ void CCharu3App::popupTreeWindow(POINT pos, bool keepSelection, HTREEITEM hOpenI

if(m_ini.m_bDebug) {
CString strText;
strText.Format(_T("popupTreeWindow x=%d y=%d keep=%s\n"), pos.x, pos.y, keepSelection ? "true" : "false");
strText.Format(_T("popupTreeWindow x=%d y=%d keep=%s\n"), pos.x, pos.y, keepSelection ? _T("true") : _T("false"));
CGeneral::writeLog(m_ini.m_strDebugLog,strText,_ME_NAME_,__LINE__);
}

Expand Down Expand Up @@ -2154,6 +2154,26 @@ BOOL CCharu3App::PreTranslateMessage(MSG* pMsg)
return CWinApp::PreTranslateMessage(pMsg);
}

//---------------------------------------------------
//関数名 OnExit()
//機能 終了処理
//---------------------------------------------------
void CCharu3App::OnExit()
{
stopAppendHotKey();
stopHotkey();
KillTimer(m_pMainWnd->m_hWnd, TIMER_ACTIVE);
KillTimer(m_pMainWnd->m_hWnd, TIMER_MOUSE);
if (m_hLangDll) {
FreeLibrary(m_hLangDll);
}
m_ini.unHookKey();
SaveData();
if (m_ini.m_bDebug) {
CGeneral::writeLog(m_ini.m_strDebugLog, _T("OnExit\n"), _ME_NAME_, __LINE__);
}
}

//---------------------------------------------------
//関数名 OnAbout()
//機能 Aboutダイアログ
Expand Down Expand Up @@ -2264,26 +2284,6 @@ void CCharu3App::OnExport()
}
}

//---------------------------------------------------
//関数名 OnExit()
//機能 終了処理
//---------------------------------------------------
void CCharu3App::OnExit()
{
stopAppendHotKey();
stopHotkey();
KillTimer(m_pMainWnd->m_hWnd, TIMER_ACTIVE);
KillTimer(m_pMainWnd->m_hWnd, TIMER_MOUSE);
if (m_hLangDll) {
FreeLibrary(m_hLangDll);
}
m_ini.unHookKey();
SaveData();
if (m_ini.m_bDebug) {
CGeneral::writeLog(m_ini.m_strDebugLog, _T("OnExit\n"), _ME_NAME_, __LINE__);
}
}

//---------------------------------------------------
//関数名 OnAddData()
//機能 データ追加
Expand Down
Loading

0 comments on commit a1f654a

Please sign in to comment.