From: Katayama Hirofumi MZ Date: Sat, 17 Aug 2019 11:02:57 +0000 (+0900) Subject: [COMCTL32] Unchange the property sheet page after WM_INITDIALOG (#1842) X-Git-Tag: 0.4.14-dev~318 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=344d5599351c5abae618dae9693a655cdc34dab0 [COMCTL32] Unchange the property sheet page after WM_INITDIALOG (#1842) In my testing on Win2k3, EN_CHANGE is generated in OnInitDialog, that is correct. The target is property sheet. The property sheet does unchange the page after WM_INITDIALOG generation. CORE-16280 --- diff --git a/dll/win32/comctl32/propsheet.c b/dll/win32/comctl32/propsheet.c index 70316b5a2bf..746d66c8d7c 100644 --- a/dll/win32/comctl32/propsheet.c +++ b/dll/win32/comctl32/propsheet.c @@ -1333,6 +1333,9 @@ static UINT GetTemplateSize(const DLGTEMPLATE* pTemplate) return ret; } +#ifdef __REACTOS__ +static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage); +#endif /****************************************************************************** * PROPSHEET_CreatePage * @@ -1473,6 +1476,9 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)) EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB); +#ifdef __REACTOS__ + PROPSHEET_UnChanged(hwndParent, hwndPage); +#endif return TRUE; }