Introduction - If you have any usage issues, please Google them yourself
In MFC, using the list box (CListBox) to display multiple strings is a very convenient way. But the default list box horizontal scroll bar is not smart enough- the meaning here is: when it should appear, should not appear when the disappearance, and should be able to automatically adjust their size. This article illustrates the existing problems and solutions, provides a code to achieve.