TBMANLIB_ListBoxHScroll Package

Author: woeoio

The TBMANLIB_ListBoxHScroll contributed package provides a helper class that adds a functional horizontal scrollbar to a standard VB ListBox control by combining the LB_SETHORIZONTALEXTENT message, Win32 scroll-info APIs, and window subclassing.

Classes

  • cListboxHScroll – a helper class that adds a functional horizontal scrollbar to a standard VB ListBox control using GDI text measurement, LB_SETHORIZONTALEXTENT, and window subclassing
    • Show – attaches the horizontal scrollbar to a ListBox control and initialises scroll handling
    • UnShow – removes the window subclass installed by Show