diff options
author | assarbad <none@none> | 2004-11-12 12:27:01 +0300 |
---|---|---|
committer | assarbad <none@none> | 2004-11-12 12:27:01 +0300 |
commit | 5f55ebc5837cad4990176ff1ca2df011966c5be0 (patch) | |
tree | 61ed37b01e77d2bf96e0fd4aae4cccbbb300ce0e /windirstat/options.cpp | |
parent | 53b5aabdbe620e9dc039e2c6bec87c58eac9a2b9 (diff) |
- Implemented ExplorerStyle option which will not be accessible through the options dialog.
It handles where the context menu is being shown.
Diffstat (limited to 'windirstat/options.cpp')
-rw-r--r-- | windirstat/options.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/windirstat/options.cpp b/windirstat/options.cpp index 0e4f83e..2cb620c 100644 --- a/windirstat/options.cpp +++ b/windirstat/options.cpp @@ -80,6 +80,7 @@ namespace const LPCTSTR entryLightSourceY = _T("lightSourceY"); const LPCTSTR entryFollowMountPoints = _T("followMountPoints"); const LPCTSTR entryFollowJunctionPoints = _T("followJunctionPoints"); + const LPCTSTR entryExplorerStyle = _T("ExplorerStyle"); const LPCTSTR sectionUserDefinedCleanupD = _T("options\\userDefinedCleanup%02d"); const LPCTSTR entryEnabled = _T("enabled"); @@ -762,6 +763,11 @@ void COptions::SetFollowJunctionPoints(bool follow) } } +bool COptions::IsExplorerStyle() +{ + return m_explorerStyle; +} + CString COptions::GetReportSubject() { return m_reportSubject; @@ -892,6 +898,10 @@ void COptions::LoadFromRegistry() // Ignore junctions by default m_followJunctionPoints = GetProfileBool(sectionOptions, entryFollowJunctionPoints, false); + // Classic WinDirStat style bey default. Explorer style shows the context menu + // directly at the cursor. + m_explorerStyle = GetProfileBool(sectionOptions, entryExplorerStyle, false); + for (i=0; i < USERDEFINEDCLEANUPCOUNT; i++) ReadUserDefinedCleanup(i); @@ -1092,6 +1102,10 @@ void CRegistryUser::CheckRange(int& value, int min, int max) // $Log$ +// Revision 1.12 2004/11/12 09:27:01 assarbad +// - Implemented ExplorerStyle option which will not be accessible through the options dialog. +// It handles where the context menu is being shown. +// // Revision 1.11 2004/11/05 16:53:07 assarbad // Added Date and History tag where appropriate. // |