Commit 393b18ab authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Call OnTxInPlaceActivate() from the host.

parent 132a35b8
......@@ -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 = ▭
}
......
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