From 4725798de69d68f3bcb697a98e5ff60c201719d5 Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Wed, 30 Nov 2011 17:42:20 +0100 Subject: [PATCH] fix property sheet initialization --- main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.c b/main.c index cf55dff..bf24fbc 100644 --- a/main.c +++ b/main.c @@ -405,6 +405,12 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM static INT_PTR CALLBACK AboutDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { + LPPSHNOTIFY psn; + if (msg == WM_NOTIFY) { + psn = (LPPSHNOTIFY) lParam; + if (psn->hdr.code == (UINT) PSN_APPLY) + return TRUE; + } return FALSE; }