The information in this article applies to:
SUMMARY
In versions of Windows earlier than 3.0, it is possible to align columns of
information in a list box with spaces, because all characters in the system
font are the same width. In Windows 3.0, the system font is proportionally
spaced with letters of differing widths, which prevents this technique from
being usable.
After determining the text to insert in the list box, convert the spaces to
the appropriate number of tabs as the following code fragment demonstrates:
This code uses the three tabs set above.
There is a file in the Microsoft Software Library named RIGHTJUS that illustrates this convention. NOTE: This sample is applicable only to Windows 3.1, NOT to Win32. MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Additional query words:
Keywords : kbfile kbsample kb16bitonly kbCtrl kbListBox kbSDKPlatform kbGrpUser kbUser |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |