1 // TortoiseSVN - a Windows shell extension for easy version control
\r
3 // Copyright (C) 2008 - TortoiseSVN
\r
5 // This program is free software; you can redistribute it and/or
\r
6 // modify it under the terms of the GNU General Public License
\r
7 // as published by the Free Software Foundation; either version 2
\r
8 // of the License, or (at your option) any later version.
\r
10 // This program is distributed in the hope that it will be useful,
\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 // GNU General Public License for more details.
\r
15 // You should have received a copy of the GNU General Public License
\r
16 // along with this program; if not, write to the Free Software Foundation,
\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\r
20 #include "resource.h"
\r
21 #include "StandAloneDlg.h"
\r
23 // TortoiseSVN - a Windows shell extension for easy version control
\r
25 // Copyright (C) 2008 - TortoiseSVN
\r
27 // This program is free software; you can redistribute it and/or
\r
28 // modify it under the terms of the GNU General Public License
\r
29 // as published by the Free Software Foundation; either version 2
\r
30 // of the License, or (at your option) any later version.
\r
32 // This program is distributed in the hope that it will be useful,
\r
33 // but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
34 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
35 // GNU General Public License for more details.
\r
37 // You should have received a copy of the GNU General Public License
\r
38 // along with this program; if not, write to the Free Software Foundation,
\r
39 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
\r
42 #include "resource.h"
\r
43 #include "StandAloneDlg.h"
\r
45 class CSetExtMenu : public ISettingsPropPage
\r
47 DECLARE_DYNAMIC(CSetExtMenu)
\r
51 virtual ~CSetExtMenu();
\r
53 UINT GetIconID() {return IDI_MISC;}
\r
56 enum { IDD = IDD_SETTINGSEXTMENU };
\r
59 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
60 virtual BOOL PreTranslateMessage(MSG* pMsg);
\r
61 virtual BOOL OnApply();
\r
62 afx_msg void OnBnClickedOnlyexplorer();
\r
63 afx_msg void OnLvnItemchangedMenulist(NMHDR *pNMHDR, LRESULT *pResult);
\r
64 afx_msg void OnChange();
\r
65 afx_msg void OnEnChangeNocontextpaths();
\r
67 DECLARE_MESSAGE_MAP()
\r
69 virtual BOOL OnInitDialog();
\r
73 CToolTips m_tooltips;
\r
74 CRegStdWORD m_regExtmenu;
\r
75 CRegStdWORD m_regExtmenuhigh;
\r
77 unsigned __int64 m_extmenu;
\r
79 CImageList m_imgList;
\r
80 CListCtrl m_cMenuList;
\r