According to microsoft documentation, ScrollWindowEx, SetScrollPos and SetScrollRange may only be called while the control is in-place active.
This fixes a segmentation fault in Anytone CPS.
-- v3: riched20/tests: Test that ScrollWindowEx is only called when control is in-place active.