From f65ef1e7250f15c3eaff4769a89211517832e044 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 3 Feb 2013 11:11:21 +0000 Subject: [PATCH] [EXPLORER_NEW] * Add transparency to icons in the task bar and in the tray bar. Brought to you by Carlo Bramini. CORE-6938 #resolve #comment Committed in r58279. Grazie ;) svn path=/trunk/; revision=58279 --- reactos/base/shell/explorer-new/taskswnd.c | 2 +- reactos/base/shell/explorer-new/trayntfy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/shell/explorer-new/taskswnd.c b/reactos/base/shell/explorer-new/taskswnd.c index fbc6db7def8..5b1abb7fe41 100644 --- a/reactos/base/shell/explorer-new/taskswnd.c +++ b/reactos/base/shell/explorer-new/taskswnd.c @@ -1462,7 +1462,7 @@ TaskSwitchWnd_Create(IN OUT PTASK_SWITCH_WND This) sizeof(TBBUTTON), 0); - This->TaskIcons = ImageList_Create(16, 16, ILC_COLOR32, 0, 1000); + This->TaskIcons = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 0, 1000); SendMessage(This->hWndToolbar, TB_SETIMAGELIST, 0, (LPARAM)This->TaskIcons); /* Calculate the default button size. Don't save this in This->ButtonSize.cx so that diff --git a/reactos/base/shell/explorer-new/trayntfy.c b/reactos/base/shell/explorer-new/trayntfy.c index 9107f7be71f..2f156d482be 100644 --- a/reactos/base/shell/explorer-new/trayntfy.c +++ b/reactos/base/shell/explorer-new/trayntfy.c @@ -380,7 +380,7 @@ SysPagerWnd_Create(IN OUT PSYS_PAGER_WND_DATA This) sizeof(TBBUTTON), 0); - This->SysIcons = ImageList_Create(16, 16, ILC_COLOR32, 0, 1000); + This->SysIcons = ImageList_Create(16, 16, ILC_COLOR32 | ILC_MASK, 0, 1000); SendMessage(This->hWndToolbar, TB_SETIMAGELIST, 0, (LPARAM)This->SysIcons); BtnSize.cx = BtnSize.cy = 18;