How to remove only horizontal scrollbar from CScrollView

  c++, desktop-application, mfc, windows

In Visual C++ with MFC, I want to remove unused horizontal scrollbar from CScrollView. I found a lot of methods, but I need vertical scrollbar. Naturally, OnSize must be overriden, not to call to base’s OnSize. But vertical scrollbar must be remained, so I must call base’s OnSize. For example, what will be the OnSize? Thank you. (I am not a beginner in programming, but I am a beginner in Graphic User Interface).

Source: Windows Questions