[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.
This commit is contained in:
Katayama Hirofumi MZ
2026-02-01 07:24:27 +09:00
committed by GitHub
parent b5b9b5d169
commit abd201bfa2
2 changed files with 8 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;