Permalink
Browse files

removed console polling

  • Loading branch information...
1 parent 804a667 commit 3d415f499f7d87ff977f77a73173147812450524 @headius committed with headius May 12, 2003
Showing with 0 additions and 20 deletions.
  1. +0 −6 HackItSettings.cpp
  2. +0 −2 HackItSettings.h
  3. +0 −12 SettingsDlg.cpp
View
@@ -47,8 +47,6 @@ HackItSettings::HackItSettings()
m_UpdateAddRemove = FALSE;
m_UpdateAuto = FALSE;
m_NamelessText = "<no title>";
- m_ConsolePolling = TRUE;
- m_ConsolePollingTime = 500;
m_WindowListCleaning = TRUE;
m_WindowListCleanerTime = 1000;
}
@@ -134,8 +132,6 @@ void HackItSettings::SaveSettings()
WriteRegistryInt(settingsKey, "System Menu Transparency", m_SysMenuTransparency);
WriteRegistryInt(settingsKey, "Update Adds Or Removes", m_UpdateAddRemove);
WriteRegistryInt(settingsKey, "Update Checks Auto Functions", m_UpdateAuto);
- WriteRegistryInt(settingsKey, "Console Polling", m_ConsolePolling);
- WriteRegistryInt(settingsKey, "Console Polling Time", m_ConsolePollingTime);
WriteRegistryInt(settingsKey, "Window List Cleaning", m_WindowListCleaning);
WriteRegistryInt(settingsKey, "Window List Cleaner Time", m_WindowListCleanerTime);
WriteRegistryString(settingsKey, "Nameless Text", m_NamelessText.c_str());
@@ -361,8 +357,6 @@ void HackItSettings::LoadSettings()
m_SysMenuTransparency = GetRegistryInt(settingsKey, "System Menu Transparency", FALSE);
m_UpdateAddRemove = GetRegistryInt(settingsKey, "Update Adds Or Removes", FALSE);
m_UpdateAuto = GetRegistryInt(settingsKey, "Update Checks Auto Functions", FALSE);
- m_ConsolePolling = GetRegistryInt(settingsKey, "Console Polling", TRUE);
- m_ConsolePollingTime = GetRegistryInt(settingsKey, "Console Polling Time", 500);
m_WindowListCleaning = GetRegistryInt(settingsKey, "Window List Cleaning", TRUE);
m_WindowListCleanerTime = GetRegistryInt(settingsKey, "Window List Cleaner Time", 1000);
GetRegistryString(settingsKey, "Nameless Text", "<no title>", astring, STRING_BUFFER_SIZE);
View
@@ -59,8 +59,6 @@ class HackItSettings
BOOL m_SysMenuAppend;
BOOL m_UpdateAddRemove;
BOOL m_UpdateAuto;
- BOOL m_ConsolePolling;
- int m_ConsolePollingTime;
BOOL m_WindowListCleaning;
int m_WindowListCleanerTime;
HackItSettings();
View
@@ -583,12 +583,10 @@ void SettingsDlg::InitWindowDlg() {
::CheckDlgButton(m_hWndWindowDlg, IDC_TOPMOSTCHILDREN, (m_Settings.m_ChildrenInTopmostList? MF_CHECKED : MF_UNCHECKED));
::CheckDlgButton(m_hWndWindowDlg, IDC_UPDATEADDREMOVE, (m_Settings.m_UpdateAddRemove? MF_CHECKED : MF_UNCHECKED));
::CheckDlgButton(m_hWndWindowDlg, IDC_UPDATEAUTO, (m_Settings.m_UpdateAuto? MF_CHECKED : MF_UNCHECKED));
- ::CheckDlgButton(m_hWndWindowDlg, IDC_CONSOLEPOLL, (m_Settings.m_ConsolePolling? MF_CHECKED : MF_UNCHECKED));
::CheckDlgButton(m_hWndWindowDlg, IDC_CLEANLIST, (m_Settings.m_WindowListCleaning? MF_CHECKED : MF_UNCHECKED));
::CheckDlgButton(m_hWndWindowDlg, IDC_USELARGEICONS, (m_Settings.m_UseLargeIcons? MF_CHECKED : MF_UNCHECKED));
::CheckDlgButton(m_hWndWindowDlg, IDC_WINDOWICONFIRST, (m_Settings.m_WindowIconFirst? MF_CHECKED : MF_UNCHECKED));
- SetDlgItemInt(m_hWndWindowDlg, IDC_CONSOLEPOLLINGTIME, m_Settings.m_ConsolePollingTime, FALSE);
SetDlgItemInt(m_hWndWindowDlg, IDC_WINDOWLISTCLEANERTIME, m_Settings.m_WindowListCleanerTime, FALSE);
//SendDlgItemMessage(m_hWndWindowDlg, IDC_DELAYSPIN, UDM_SETRANGE, 0, MAKELONG(10, 1));
SetDlgItemText(m_hWndWindowDlg, IDC_NAMELESSTEXT, m_Settings.m_NamelessText.c_str());
@@ -904,9 +902,6 @@ LRESULT SettingsDlg::OnWindowDlgCommand(WPARAM wParam, LPARAM lParam)
GetDlgItemText(m_hWndWindowDlg, IDC_NAMELESSTEXT, buffer, STRING_BUFFER_SIZE);
m_Settings.m_NamelessText = buffer;
break;
- case IDC_CONSOLEPOLLINGTIME:
- m_Settings.m_ConsolePollingTime = GetDlgItemInt(m_hWndWindowDlg, IDC_CONSOLEPOLLINGTIME, NULL, FALSE);
- break;
case IDC_WINDOWLISTCLEANERTIME:
m_Settings.m_WindowListCleanerTime = GetDlgItemInt(m_hWndWindowDlg, IDC_WINDOWLISTCLEANERTIME, NULL, FALSE);
break;
@@ -937,13 +932,6 @@ LRESULT SettingsDlg::OnWindowDlgCommand(WPARAM wParam, LPARAM lParam)
m_Settings.m_UpdateItems = TRUE;
}
break;
- case IDC_CONSOLEPOLL:
- if (m_Settings.m_ConsolePolling) {
- m_Settings.m_ConsolePolling = FALSE;
- } else {
- m_Settings.m_ConsolePolling = TRUE;
- }
- break;
case IDC_CLEANLIST:
if (m_Settings.m_WindowListCleaning) {
m_Settings.m_WindowListCleaning = FALSE;

0 comments on commit 3d415f4

Please sign in to comment.