Commit 25481334 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Do not abort dialog creation if DS_NOFAILCREATE allows to continue.

parent 6d9e148a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment