diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-06 16:42:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-06 16:42:10 +0300 |
commit | 13cd5354baea09dc6ea4b1131a3bd289c07a84e7 (patch) | |
tree | e280b4a9c8a224a81f49da03c1358d791263a64b | |
parent | 8221b8c22b4632c5f6c7f9f0ed6604f9a5d29c57 (diff) |
more useless code removed
-rw-r--r-- | include/m_clc.h | 2 | ||||
-rw-r--r-- | plugins/VoiceService/src/options.cpp | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/m_clc.h b/include/m_clc.h index c47a0ac84a..b91d7ec5c5 100644 --- a/include/m_clc.h +++ b/include/m_clc.h @@ -140,7 +140,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define GREYF_UNFOCUS 0x80000000
#define MODEF_OFFLINE 0x40000000
//and use the PF2_ #defines from m_protosvc.h
-#define CLM_SETGREYOUTFLAGS (CLM_FIRST+39) //wParam = new flags
+
#define CLM_GETHIDEOFFLINEROOT (CLM_FIRST+40) //returns TRUE/FALSE
#define CLM_SETHIDEOFFLINEROOT (CLM_FIRST+41) //wParam = TRUE/FALSE
#define CLM_SETUSEGROUPS (CLM_FIRST+42) //wParam = TRUE/FALSE
diff --git a/plugins/VoiceService/src/options.cpp b/plugins/VoiceService/src/options.cpp index 98a4b868d2..9cec44611d 100644 --- a/plugins/VoiceService/src/options.cpp +++ b/plugins/VoiceService/src/options.cpp @@ -240,16 +240,7 @@ static void SetAllChildIcons(HWND hwndList, HANDLE hFirstItem, int iColumn, int static void ResetListOptions(HWND hwndList) { - SendMessage(hwndList, CLM_SETBKBITMAP, 0, 0); SendMessage(hwndList, CLM_SETBKCOLOR, GetSysColor(COLOR_WINDOW), 0); - SendMessage(hwndList, CLM_SETGREYOUTFLAGS, 0, 0); - SendMessage(hwndList, CLM_SETLEFTMARGIN, 2, 0); - SendMessage(hwndList, CLM_SETINDENT, 10, 0); - - for (int i = 0; i <= FONTID_MAX; i++) - SendMessage(hwndList, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT)); - - // SetWindowLong(hwndList,GWL_STYLE,GetWindowLong(hwndList,GWL_STYLE)|CLS_SHOWHIDDEN|CLS_NOHIDEOFFLINE|CLS_GREYALTERNATE); } |