[EXPLORER]: Fix most problems with the size of the taskbar. (Most problems when run...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 26 Mar 2017 16:46:55 +0000 (16:46 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 26 Mar 2017 16:46:55 +0000 (16:46 +0000)
commit3092ec5137d25d4cb491e4c0288d72c12e2f3b4a
tree6ac108c053a36859fceea03c13702746a6e612ed
parentfec280223d641532a75bd1071c9fdd564d07c534
[EXPLORER]: Fix most problems with the size of the taskbar. (Most problems when run in windows. Running on ros still isn't perfect.)
- CTaskSwitchWnd: Use the height of the start button as minimum height in horizontal mode.
- CTrayClockWnd: Actually process WM_THEMECHANGED message.
- CTaskSwitchWnd: Use SM_CYSIZE as the height of the buttons of the toolbar.
- CStartButton: Simplify calculating the minimum size of the button.
- CTrayWindow: Don't use IsThemeActive. Checking if OpenThemeData returned non null is enough.

svn path=/trunk/; revision=74231
reactos/base/shell/explorer/precomp.h
reactos/base/shell/explorer/taskband.cpp
reactos/base/shell/explorer/taskswnd.cpp
reactos/base/shell/explorer/trayntfy.cpp
reactos/base/shell/explorer/traywnd.cpp