mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-14 19:17:35 +01:00
Weather: Free widget from a single place
This commit is contained in:
parent
953a984353
commit
1c31c1c281
@ -867,6 +867,7 @@ DWORD EP_ServiceWindowThread(DWORD unused)
|
||||
EnterCriticalSection(&lock_epw);
|
||||
if (epw)
|
||||
{
|
||||
epw->lpVtbl->Release(epw);
|
||||
epw = NULL;
|
||||
prev_total_h = 0;
|
||||
if (PeopleButton_LastHWND) InvalidateRect(PeopleButton_LastHWND, NULL, TRUE);
|
||||
@ -4432,11 +4433,10 @@ SIZE WINAPI PeopleButton_CalculateMinimumSizeHook(void* _this, SIZE* pSz)
|
||||
}
|
||||
if (bFailed)
|
||||
{
|
||||
epw->lpVtbl->Release(epw);
|
||||
epw = NULL;
|
||||
prev_total_h = 0;
|
||||
PostMessageW(FindWindowW(L"Shell_TrayWnd", NULL), WM_COMMAND, 435, 0);
|
||||
PostMessageW(FindWindowW(L"ExplorerPatcher_GUI_" _T(EP_CLSID), NULL), WM_USER + 1, 0, 0);
|
||||
//PostMessageW(FindWindowW(L"ExplorerPatcher_GUI_" _T(EP_CLSID), NULL), WM_USER + 1, 0, 0);
|
||||
if (hServiceWindowThread) PostThreadMessageW(GetThreadId(hServiceWindowThread), WM_USER + 1, NULL, NULL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user