- m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size;
- m_targetWindow->ScrollWindow( (m_xScrollPosition - m_hAdjust->value) * m_xScrollPixelsPerLine, 0 );
- m_xScrollPosition = (int)m_hAdjust->value;
+ if (GetChildren().GetCount() == 0)
+ {
+ m_hAdjust->value = m_hAdjust->upper - m_hAdjust->page_size;
+ m_xScrollPosition = (int)m_hAdjust->value;
+ }