mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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 |
Reference in New Issue
Block a user