From 4a30b5af2909452db7995b75406c45429c85f4ef Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 22 Jun 2020 17:01:56 +1000 Subject: Update thmviewer to show theme load errors. --- src/thmviewer/load.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/thmviewer/load.cpp') diff --git a/src/thmviewer/load.cpp b/src/thmviewer/load.cpp index cd48caff..0267402a 100644 --- a/src/thmviewer/load.cpp +++ b/src/thmviewer/load.cpp @@ -106,6 +106,8 @@ static DWORD WINAPI LoadThreadProc( FILETIME ftModified = { }; FileGetTime(sczThemePath, NULL, NULL, &ftModified); + ::SendMessageW(hWnd, WM_THMVWR_THEME_LOAD_BEGIN, 0, 0); + // Try to load the theme file. hr = ThemeLoadFromFile(sczThemePath, &pTheme); if (FAILED(hr)) -- cgit v1.2.3-55-g6feb