A WM_CREATE message sent to an Edit window procedure should

return 1. Power Builder masked edit controls depend on it.
This commit is contained in:
Rein Klazes 2003-10-21 23:49:03 +00:00 committed by Alexandre Julliard
parent 56b63e85c3
commit 0de8b21890
1 changed files with 5 additions and 1 deletions

View File

@ -3780,7 +3780,11 @@ static LRESULT EDIT_WM_Create(EDITSTATE *es, LPCWSTR name)
}
/* force scroll info update */
EDIT_UpdateScrollInfo(es);
return 0;
/* The rule seems to return 1 here for success */
/* Power Builder masked edit controls will crash */
/* if not. */
/* FIXME: is that in all cases so ? */
return 1;
}