riched20: Call OnTxInPlaceActivate() from the host.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
132a35b822
commit
393b18ab7a
|
@ -1021,7 +1021,7 @@ static LRESULT RichEditWndProc_common( HWND hwnd, UINT msg, WPARAM wparam,
|
|||
LONG codepage = unicode ? CP_UNICODE : CP_ACP;
|
||||
int len;
|
||||
|
||||
ITextServices_OnTxPropertyBitsChange( host->text_srv, TXTBIT_CLIENTRECTCHANGE, 0 );
|
||||
ITextServices_OnTxInPlaceActivate( host->text_srv, NULL );
|
||||
|
||||
if (lparam)
|
||||
{
|
||||
|
|
|
@ -220,6 +220,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c
|
|||
|
||||
if (!client)
|
||||
{
|
||||
if (!services->editor->in_place_active) return E_INVALIDARG;
|
||||
hr = ITextHost_TxGetClientRect( services->host, &rect );
|
||||
client = ▭
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue