mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
Display nice images taken (and modified) from http://www.lullabot.com/articles/free_gpl_icons_lullacons_pack_1, which are licensed under the GPL.
svn path=/trunk/; revision=27108
This commit is contained in:
parent
6ccaee160f
commit
f7d3dc0bd6
2 changed files with 22 additions and 7 deletions
|
@ -1363,13 +1363,28 @@ SecurityPageProc(IN HWND hwndDlg,
|
|||
LVS_EX_FULLROWSELECT,
|
||||
LVS_EX_FULLROWSELECT);
|
||||
|
||||
sp->hiPrincipals = ImageList_LoadBitmap(hDllInstance,
|
||||
MAKEINTRESOURCE(IDB_USRGRPIMAGES),
|
||||
16,
|
||||
3,
|
||||
RGB(255,
|
||||
0,
|
||||
255));
|
||||
sp->hiPrincipals = ImageList_Create(16,
|
||||
16,
|
||||
ILC_COLOR32 | ILC_MASK,
|
||||
0,
|
||||
3);
|
||||
if (sp->hiPrincipals != NULL)
|
||||
{
|
||||
HBITMAP hbmImages;
|
||||
|
||||
hbmImages = LoadBitmap(hDllInstance,
|
||||
MAKEINTRESOURCE(IDB_USRGRPIMAGES));
|
||||
if (hbmImages != NULL)
|
||||
{
|
||||
ImageList_AddMasked(sp->hiPrincipals,
|
||||
hbmImages,
|
||||
RGB(255,
|
||||
0,
|
||||
255));
|
||||
|
||||
DeleteObject(hbmImages);
|
||||
}
|
||||
}
|
||||
|
||||
/* setup the listview control */
|
||||
if (sp->hiPrincipals != NULL)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in a new issue