mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 23:09:54 -06:00
feat: opens sole folder instead of upper folder after extraction; cancel folder priority over file in comparison; other minor ui fix
This commit is contained in:
@@ -1035,6 +1035,24 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
g_App.OnNotify((int)wParam, (LPNMHDR)lParam);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_TIMER:
|
||||
{
|
||||
if (wParam == 1678) {
|
||||
KillTimer(hWnd, 1678);
|
||||
UString p;
|
||||
{
|
||||
NWindows::NSynchronization::CCriticalSectionLock lock(*g_App.pDelayedOpenFolderAfterExtractPathCriticalSection);
|
||||
p = g_App.DelayedOpenFolderAfterExtractPath;
|
||||
g_App.DelayedOpenFolderAfterExtractPath.Wipe_and_Empty();
|
||||
}
|
||||
|
||||
if (!p.IsEmpty()) {
|
||||
StartApplicationDontWait(p, p, hWnd);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
case WM_DROPFILES:
|
||||
|
||||
Reference in New Issue
Block a user