ShellView_CreateList(), SIC_Initialize(): enable transparent icons on

the desktop.
This commit is contained in:
Martin Fuchs 2004-01-18 23:17:32 +00:00 committed by Alexandre Julliard
parent 87326ba7c3
commit 9d1c9604b1
2 changed files with 13 additions and 4 deletions

View File

@ -241,11 +241,11 @@ BOOL SIC_Initialize(void)
return(FALSE);
}
ShellSmallIconList = ImageList_Create(16,16,ILC_COLORDDB | ILC_MASK,0,0x20);
ShellBigIconList = ImageList_Create(32,32,ILC_COLORDDB | ILC_MASK,0,0x20);
ShellSmallIconList = ImageList_Create(16,16,ILC_COLOR32|ILC_MASK,0,0x20);
ShellBigIconList = ImageList_Create(32,32,ILC_COLOR32|ILC_MASK,0,0x20);
ImageList_SetBkColor(ShellSmallIconList, GetSysColor(COLOR_WINDOW));
ImageList_SetBkColor(ShellBigIconList, GetSysColor(COLOR_WINDOW));
ImageList_SetBkColor(ShellSmallIconList, CLR_NONE);
ImageList_SetBkColor(ShellBigIconList, CLR_NONE);
for (index=1; index<39; index++)
{

View File

@ -314,6 +314,15 @@ static BOOL ShellView_CreateList (IShellViewImpl * This)
This->ListViewSortInfo.nHeaderID = -1;
This->ListViewSortInfo.nLastHeaderID = -1;
if (This->FolderSettings.fFlags & FWF_DESKTOP) {
if (0) /* FIXME: look into registry vale HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow and activate drop shadows */
ListView_SetTextBkColor(This->hWndList, CLR_NONE);
else
ListView_SetTextBkColor(This->hWndList, GetSysColor(COLOR_DESKTOP));
ListView_SetTextColor(This->hWndList, RGB(255,255,255));
}
/* UpdateShellSettings(); */
return TRUE;
}