user32: Issue a warning when dialog control creation fails.
This commit is contained in:
parent
9bdcfc5d3e
commit
eb0576ba59
|
@ -317,6 +317,8 @@ static BOOL DIALOG_CreateControls32( HWND hwnd, LPCSTR template, const DLG_TEMPL
|
||||||
}
|
}
|
||||||
if (!hwndCtrl)
|
if (!hwndCtrl)
|
||||||
{
|
{
|
||||||
|
WARN("control %s %s creation failed\n", debugstr_w(info.className),
|
||||||
|
debugstr_w(info.windowName));
|
||||||
if (dlgTemplate->style & DS_NOFAILCREATE) continue;
|
if (dlgTemplate->style & DS_NOFAILCREATE) continue;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue