1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00

General: Export variable that tells if desktop is in foreground

This commit is contained in:
Valentin Radu 2022-05-28 13:52:36 +03:00
parent 757e9f31cc
commit ece5c941b5

View File

@ -187,7 +187,7 @@ DWORD S_Icon_Dark_TaskView = 0;
void* P_Icon_Dark_Widgets = NULL;
DWORD S_Icon_Dark_Widgets = 0;
BOOL g_bIsDesktopRaised = FALSE;
#include "utility.h"
#include "resource.h"
@ -2416,6 +2416,10 @@ INT64 Shell_TrayWndSubclassProc(
DestroyMenu(hMenu);
}
}
else if (uMsg == 1368)
{
g_bIsDesktopRaised = (lParam & 1) == 0;
}
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
}
#endif