According to microsoft documentation, GetClientRect, ScrollWindowEx, SetScrollPos and SetScrollRange (among others) may only be called while the control is in-place active.
This fixes a segmentation fault in Anytone CPS.
-- v5: riched20: Only call ME_SendRequestResize when control is in-place active. riched20: Exit from editor_ensure_visible when control is not in-place active. riched20/tests: Test that ScrollWindowEx and GetClientRect are only called when control is in-place active.