|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
EM_FMTLINES
An application sends an EM_FMTLINES message to set the inclusion flag of soft
linebreak characters on or off within a multiline edit control. A soft
linebreak consists of two carriage returns and a linefeed and is inserted at the end of
a line that is broken because of wordwrapping.
EM_FMTLINES
wParam = (WPARAM) (BOOL) fAddEOL; // linebreak flag
lParam = 0; // not used; must be zero
Parameters
fAddEOL
Value of wParam. Specifies whether soft-linebreak characters are to be inserted. A value of
TRUE inserts the characters; a value of FALSE removes them.
Return Values
The return value is identical to the fAddEOL parameter.
Remarks
This message affects only the buffer returned by the EM_GETHANDLE message and
the text returned by the WM_GETTEXT message. It has no effect on the display of
the text within the edit control.
The EM_FMTLINES message does not affect a line that ends with a hard
linebreak. A hard linebreak consists of one carriage return and a linefeed.
Note that the size of the text changes when this message is processed.
See Also
EM_GETHANDLE, WM_GETTEXT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|