mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[USRMGR] Update Icons and show imagelists with 32 instead of 8 bit. Patch by Jared Smudde. CORE-10516
svn path=/trunk/; revision=69969
This commit is contained in:
parent
0e3e0f5a52
commit
c7f7d51121
5 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue