VB3 Printing Multiline Text Box Using Windows API Functions (80867)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q80867 SUMMARY
Printing the Text property of a multiline text box while maintaining the
line structure requires attention to word wrapping, carriage returns, and
line feeds. The programmer can either track the number of characters and
lines in code or use Windows API functions to manipulate the Text property.
This article demonstrates these techniques in a Visual Basic example.
REFERENCES
Please see the "Microsoft Windows Programmer's Reference Book and Online
Resource" (Visual Basic Add-on Kit #1-55615-413-5).
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbcode kbhowto kbWndw KB80867 |
---|
|