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:
parent
56b63e85c3
commit
0de8b21890
|
@ -3780,7 +3780,11 @@ static LRESULT EDIT_WM_Create(EDITSTATE *es, LPCWSTR name)
|
||||||
}
|
}
|
||||||
/* force scroll info update */
|
/* force scroll info update */
|
||||||
EDIT_UpdateScrollInfo(es);
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue