title: How to check the end of ListBox vertical scroll bar in MFC
body: <p>When you add values ​​to a ListBox in MFC, a vertical scrollbar is automatically created.
  At this time, we want to create a function that adds more values ​​when the automatically generated vertical scroll bar reaches the end.
  If you know a method or method to determine if the scrollbar has reached the end, please let me know.</p>
  <p>If I need to use OnVScroll(), please tell me how to check the end of the vertical scroll bar of the ListBox.</p>
  <p>The variable of my ListBox is</p>
  <pre><code>CListBox m_ListBox Word;
  </code></pre>