[SHELL32] -Use a 32bit masked icon for "Open With" Dialog items
authorRobert Naumann <gonzomdx@gmail.com>
Tue, 10 Nov 2015 16:31:37 +0000 (16:31 +0000)
committerRobert Naumann <gonzomdx@gmail.com>
Tue, 10 Nov 2015 16:31:37 +0000 (16:31 +0000)
-Fix icon ID for the "Open With" Dialog
-Patches by Jared Smudde CORE-10500 CORE-10502

svn path=/trunk/; revision=69869

reactos/dll/win32/shell32/COpenWithMenu.cpp
reactos/dll/win32/shell32/icon_res.rc
reactos/dll/win32/shell32/shresdef.h

index 8e141e8..56c3a9c 100644 (file)
@@ -981,7 +981,7 @@ VOID COpenWithDialog::Init(HWND hwnd)
 
         /* Init treeview */
         m_hTreeView = GetDlgItem(hwnd, 14002);
-        m_hImgList = ImageList_Create(16, 16,  ILC_COLOR24 | ILC_MASK, m_pAppList->GetCount() + 1, m_pAppList->GetCount() + 1);
+        m_hImgList = ImageList_Create(16, 16,  ILC_COLOR32 | ILC_MASK, m_pAppList->GetCount() + 1, m_pAppList->GetCount() + 1);
         (void)TreeView_SetImageList(m_hTreeView, m_hImgList, TVSIL_NORMAL);
 
         /* If there are some recommendations add parent nodes: Recommended and Others */
index 0c212a6..3132673 100644 (file)
@@ -49,8 +49,8 @@ IDI_SHELL_LOCKED ICON "res/icons/48.ico"
 IDI_SHELL_DISCONN ICON "res/icons/49.ico"
 IDI_SHELL_NOT_CONNECTED_HDD ICON "res/icons/54.ico"
 IDI_SHELL_MULTIPLE_FILES ICON "res/icons/133.ico"
-IDI_SHELL_FIND_IN_FILE ICON "res/icons/134.ico"
-IDI_SHELL_OPEN_WITH ICON "res/icons/135.ico"
+IDI_SHELL_OPEN_WITH ICON "res/icons/134.ico"
+IDI_SHELL_FIND_COMPUTER ICON "res/icons/135.ico"
 IDI_SHELL_CONTROL_PANEL3 ICON "res/icons/137.ico"
 IDI_SHELL_PRINTER2 ICON "res/icons/138.ico"
 IDI_SHELL_PRINTER_ADD ICON "res/icons/139.ico"
index a918e4c..0df8456 100644 (file)
 #define IDI_SHELL_DISCONN           49
 #define IDI_SHELL_NOT_CONNECTED_HDD 54
 #define IDI_SHELL_MULTIPLE_FILES   133
-#define IDI_SHELL_FIND_IN_FILE     134
-#define IDI_SHELL_OPEN_WITH        135
+#define IDI_SHELL_OPEN_WITH        134
+#define IDI_SHELL_FIND_COMPUTER    135
 #define IDI_SHELL_CONTROL_PANEL3   137
 #define IDI_SHELL_PRINTER2         138
 #define IDI_SHELL_PRINTER_ADD      139