diff --git a/dlls/user/dialog16.c b/dlls/user/dialog16.c index c0d6b2c2144..887f9966855 100644 --- a/dlls/user/dialog16.c +++ b/dlls/user/dialog16.c @@ -176,7 +176,11 @@ static BOOL DIALOG_CreateControls16( HWND hwnd, LPCSTR template, instance, (LPVOID)segptr )); UnMapLS( segptr ); - if (!hwndCtrl) return FALSE; + if (!hwndCtrl) + { + if (dlgTemplate->style & DS_NOFAILCREATE) continue; + return FALSE; + } /* Send initialisation messages to the control */ if (dlgInfo->hUserFont) SendMessageA( hwndCtrl, WM_SETFONT,