WinUpdater: Create updater window as hidden by default

UpdaterCommon attempts to hide updater window directly after creating,
so creating it hidden avoids the window from showing for a split second
This commit is contained in:
Silent 2019-08-05 21:46:00 +02:00
parent 24718c1a38
commit f70efbb963
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -45,7 +45,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}; // namespace
constexpr int PROGRESSBAR_FLAGS = WS_VISIBLE | WS_CHILD | PBS_SMOOTH | PBS_SMOOTHREVERSE;
constexpr int WINDOW_FLAGS = WS_VISIBLE | WS_CLIPCHILDREN;
constexpr int WINDOW_FLAGS = WS_CLIPCHILDREN;
constexpr int PADDING_HEIGHT = 5;
namespace UI