[EXPLORER] CTrayWindow: Set the initial lock state in the band site

This alongside the previous commit, fix locking and unlocking the taskbar.
This commit is contained in:
Giannis Adamopoulos 2018-02-28 17:14:00 +02:00
parent 6d4a091b4a
commit b95fff5bce

View file

@ -2080,6 +2080,9 @@ ChangePos:
SetTimer(TIMER_ID_AUTOHIDE, AUTOHIDE_DELAY_HIDE, NULL);
}
/* Set the initial lock state in the band site */
m_TrayBandSite->Lock(g_TaskbarSettings.bLock);
RegisterHotKey(m_hWnd, IDHK_RUN, MOD_WIN, 'R');
RegisterHotKey(m_hWnd, IDHK_MINIMIZE_ALL, MOD_WIN, 'M');
RegisterHotKey(m_hWnd, IDHK_RESTORE_ALL, MOD_WIN|MOD_SHIFT, 'M');