[SHELL32][EXPLORER] Update system-wide environment variables (#663)

- Implement shell32 RegenerateUserEnvironment() function and use it.
- CShellBrowser and CDesktopBrowser implements WM_SETTINGCHANGE actions.

CORE-1459, CORE-14397
This commit is contained in:
Katayama Hirofumi MZ
2018-07-08 23:32:42 +09:00
committed by Hermès BÉLUSCA - MAÏTO
parent 25004bb5b4
commit a882ec7a02
7 changed files with 58 additions and 16 deletions

View File

@@ -390,6 +390,9 @@ LRESULT CDesktopBrowser::OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
LRESULT CDesktopBrowser::OnSettingChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
{
LPVOID lpEnvironment;
RegenerateUserEnvironment(&lpEnvironment, TRUE);
if (m_hWndShellView)
{
/* Forward the message */