From abd201bfa23a64d16c55065a2d518288b0e44bfc Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sun, 1 Feb 2026 07:24:27 +0900 Subject: [PATCH] [USER32][COMCTL32] ComboBox: Don't check owner window on creation (#8647) Reduce imm32:himc failures. JIRA issue: CORE-19268 - Don't check lphc->owner nor WS_VISIBLE on ComboBox creation. --- dll/win32/comctl32/combo.c | 4 ++++ win32ss/user/user32/controls/combo.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/dll/win32/comctl32/combo.c b/dll/win32/comctl32/combo.c index f9b0e0837a1..e40aaa2dbd0 100644 --- a/dll/win32/comctl32/combo.c +++ b/dll/win32/comctl32/combo.c @@ -425,7 +425,11 @@ static LRESULT COMBO_Create( HWND hwnd, LPHEADCOMBO lphc, HWND hwndParent, LONG /* M$ IE 3.01 actually creates (and rapidly destroys) an ownerless combobox */ +#ifdef __REACTOS__ + if(TRUE) +#else if( lphc->owner || !(style & WS_VISIBLE) ) +#endif { UINT lbeStyle = 0; UINT lbeExStyle = 0; diff --git a/win32ss/user/user32/controls/combo.c b/win32ss/user/user32/controls/combo.c index c118b314233..3d305364afe 100644 --- a/win32ss/user/user32/controls/combo.c +++ b/win32ss/user/user32/controls/combo.c @@ -473,7 +473,11 @@ static LRESULT COMBO_Create( HWND hwnd, LPHEADCOMBO lphc, HWND hwndParent, LONG /* M$ IE 3.01 actually creates (and rapidly destroys) an ownerless combobox */ +#ifdef __REACTOS__ + if(TRUE) +#else if( lphc->owner || !(style & WS_VISIBLE) ) +#endif { UINT lbeStyle = 0; UINT lbeExStyle = 0;