From d1b5a51714da4a1985a56cd59bf5426dc36698f7 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 10 Nov 2010 20:25:27 +0000 Subject: [PATCH] * propsheet.cc (PropSheetProc): Set the big icon for the propsheet window --- ChangeLog | 5 +++++ propsheet.cc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index af9535a5..2e675081 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-11-07 Jon TURNEY + + * propsheet.cc (PropSheetProc): Set the big icon for the propsheet + window + 2010-11-07 Jon TURNEY * ini.cc (GuiParseFeedback::progress, GuiParseFeedback::iniName): diff --git a/propsheet.cc b/propsheet.cc index 8d32c4a6..082b69f2 100644 --- a/propsheet.cc +++ b/propsheet.cc @@ -271,6 +271,11 @@ PropSheetProc (HWND hwndDlg, UINT uMsg, LPARAM lParam) return TRUE; case PSCB_INITIALIZED: { + /* + PropSheet() with PSH_USEICONID only sets the small icon, + so we must set the big icon ourselves + */ + SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_CYGWIN))); /* Hook into the window proc. We need to catch some messages for resizing. -- 2.43.5