LONG lStyle = GetWindowLong( g_hwndRich, GWL_STYLE );
if ( lStyle & WS_HSCROLL )
lStyle |= WS_HSCROLL;
else
lStyle &= ~WS_HSCROLL;
SetWindowLong( g_hwndRich, GWL_STYLE, lStyle );
SetWindowPos( g_hwndRich, 0, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE );