• R/O
  • SSH
  • HTTPS

jyeipegyuu: Commit


Commit MetaInfo

Revision19 (tree)
Time2010-10-12 12:41:14
Authorberupon

Log Message

設定画面でタブキーによるフォーカス移動が働くように処理追加。

Change Summary

Incremental Difference

--- ImageCompressionAnalyzer/SettingView.cpp (revision 18)
+++ ImageCompressionAnalyzer/SettingView.cpp (revision 19)
@@ -15,6 +15,11 @@
1515 {
1616 }
1717
18+BOOL CSettingView::PreTranslateMessage(MSG* pMsg)
19+{
20+ return CWindow::IsDialogMessage(pMsg);
21+}
22+
1823 LRESULT CSettingView::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
1924 {
2025 DoDataExchange();
--- ImageCompressionAnalyzer/SettingView.h (revision 18)
+++ ImageCompressionAnalyzer/SettingView.h (revision 19)
@@ -29,6 +29,8 @@
2929 ~CSettingView();
3030 enum { IDD = IDD_SETTING };
3131
32+ BOOL PreTranslateMessage(MSG* pMsg);
33+
3234 BEGIN_MSG_MAP(CSettingView)
3335 MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
3436 MSG_WM_COMMAND(OnCommand)
--- ImageCompressionAnalyzer/MainFrm.cpp (revision 18)
+++ ImageCompressionAnalyzer/MainFrm.cpp (revision 19)
@@ -28,6 +28,9 @@
2828 if(CFrameWindowImpl<CMainFrame>::PreTranslateMessage(pMsg))
2929 return TRUE;
3030
31+ if (m_pSettingView->PreTranslateMessage(pMsg)) {
32+ return TRUE;
33+ }
3134 return m_pImageView->PreTranslateMessage(pMsg);
3235 }
3336
Show on old repository browser