[EXPLORER] Adjust AUTOHIDE size

GetSystemMetrics(SM_CXBORDER) is too thin. CORE-17927
This commit is contained in:
Katayama Hirofumi MZ 2021-12-24 07:24:33 +09:00
parent f153b52dbb
commit 2cc893f514

View file

@ -1869,8 +1869,8 @@ ChangePos:
void ProcessAutoHide()
{
INT w = m_TraySize.cx - GetSystemMetrics(SM_CXBORDER) * 2 - 1;
INT h = m_TraySize.cy - GetSystemMetrics(SM_CYBORDER) * 2 - 1;
INT w = m_TraySize.cx - (GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXEDGE));
INT h = m_TraySize.cy - (GetSystemMetrics(SM_CYSIZEFRAME) + GetSystemMetrics(SM_CYEDGE));
switch (m_AutoHideState)
{