mirror of
https://github.com/reactos/reactos.git
synced 2026-05-27 03:10:56 +08:00
[EXPLORER] Adjust AUTOHIDE size
GetSystemMetrics(SM_CXBORDER) is too thin. CORE-17927
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user