The information in this article applies to:
SUMMARY
The HLISTBOX sample contained in HLISTBOX.EXE illustrates how to implement
horizontal scrolling in a CListBox-derived class.
http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. NOTE: Use the -d option when running HLISTBOX.EXE to decompress the file and recreate the proper directory structure. MORE INFORMATION
HLISTBOX implements a new class called CHorzListBox that is derived from
CListBox. This new class automatically updates the horizontal extent of a
list box to that of the longest string included in the list box. It works
well with list boxes that have or don't have the LBS_USETABSTOPS style. An
ordinary Windows list box does not attempt to implement horizontal
scrolling of this nature.
NOTE: The "Lock/Unlock" button on the main dialog locks and unlocks the
automatic updating of horizontal extent for the list box.
Additional query words: 4.00 scroll bar scrollbar listbox
Keywords : kbfile kbsample kbMFC KbUIDesign kbVC |
Last Reviewed: December 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |