[USRMGR] Update Icons and show imagelists with 32 instead of 8 bit. Patch by Jared...
authorRobert Naumann <gonzomdx@gmail.com>
Fri, 20 Nov 2015 23:16:50 +0000 (23:16 +0000)
committerRobert Naumann <gonzomdx@gmail.com>
Fri, 20 Nov 2015 23:16:50 +0000 (23:16 +0000)
svn path=/trunk/; revision=69969

reactos/dll/cpl/usrmgr/groupprops.c
reactos/dll/cpl/usrmgr/resources/group.ico
reactos/dll/cpl/usrmgr/resources/locked.ico
reactos/dll/cpl/usrmgr/resources/user.ico
reactos/dll/cpl/usrmgr/users.c

index a455446..dd9c19a 100644 (file)
@@ -83,7 +83,7 @@ InitGroupMembersList(HWND hwndDlg,
     hwndLV = GetDlgItem(hwndDlg, IDC_USER_ADD_MEMBERSHIP_LIST);
     GetClientRect(hwndLV, &rect);
 
-    hImgList = ImageList_Create(16,16,ILC_COLOR8 | ILC_MASK,5,5);
+    hImgList = ImageList_Create(16,16,ILC_COLOR32 | ILC_MASK,5,5);
     hIcon = LoadImage(hApplet,MAKEINTRESOURCE(IDI_GROUP),IMAGE_ICON,16,16,LR_DEFAULTCOLOR);
     ImageList_AddIcon(hImgList,hIcon);
     DestroyIcon(hIcon);
@@ -406,7 +406,7 @@ GetGeneralGroupData(HWND hwndDlg,
     hwndLV = GetDlgItem(hwndDlg, IDC_GROUP_GENERAL_MEMBERS);
 
     /* Create the image list */
-    hImgList = ImageList_Create(16, 16, ILC_COLOR8 | ILC_MASK, 5, 5);
+    hImgList = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 5, 5);
     hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_GROUP), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
     ImageList_AddIcon(hImgList, hIcon);
     DestroyIcon(hIcon);
index 6a7c73a..f3d49bc 100644 (file)
Binary files a/reactos/dll/cpl/usrmgr/resources/group.ico and b/reactos/dll/cpl/usrmgr/resources/group.ico differ
index 9953f9d..d95631d 100644 (file)
Binary files a/reactos/dll/cpl/usrmgr/resources/locked.ico and b/reactos/dll/cpl/usrmgr/resources/locked.ico differ
index 1868683..e0d0c16 100644 (file)
Binary files a/reactos/dll/cpl/usrmgr/resources/user.ico and b/reactos/dll/cpl/usrmgr/resources/user.ico differ
index ca0b518..52b31e0 100644 (file)
@@ -513,7 +513,7 @@ OnInitDialog(HWND hwndDlg)
     HICON hIcon;
 
     /* Create the image list */
-    hImgList = ImageList_Create(16, 16, ILC_COLOR8 | ILC_MASK, 5, 5);
+    hImgList = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 5, 5);
     hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_USER), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
     ImageList_AddIcon(hImgList, hIcon);
     hIcon = LoadImage(hApplet, MAKEINTRESOURCE(IDI_LOCKED_USER), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);