The information in this article applies to:
SUMMARY
To align columns of text in a list box in an application running under
Windows version 3.0, the suggested approach is to use the proportional
system font and to use tab characters to align the text. For tabs to work
properly, you must specify the LBS_USETABSTOPS style when you create the
list box.
MORE INFORMATION
One particular fixed-pitch font is always available as a system resource.
This font, identified as the SYSTEM_FIXED_FONT, is used by applications
developed for previous versions of Windows that have not been marked for
Windows 3.0 font compatibility.
The following code fragment selects a fixed font into a device context
(DC):
More information on this and other subjects related to Windows
programming is contained in the file TIPS.TXT. The SDK installation
program places this file in the WINDEV directory, with the other SDK
files. TIPS.TXT contains a set of notes provided by Microsoft Product
Support Services to help answer some of the most commonly asked
questions by developers of Windows 3.0 applications. The notes are
addressed to new Windows developers as well as to those moving Windows
2.x applications to Windows 3.0.
Additional query words: 3.00
Keywords : kb16bitonly kbCtrl kbListBox kbSDKPlatform |
Last Reviewed: June 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |