|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
EM_LINESCROLL
An application sends an EM_LINESCROLL message to scroll the text vertically or
horizontally in a multiline edit control.
EM_LINESCROLL
wParam = (WPARAM) cxScroll; // characters to scroll horizontally
lParam = (LPARAM) cyScroll; // lines to scroll vertically
Parameters
cxScroll
Value of wParam. Specifies the number of characters to scroll horizontally.
cyScroll
Value of lParam. Specifies the number of lines to scroll vertically.
Return Values
If the message is sent to a multiline edit control, the return value is TRUE;
if the message is sent to a single-line edit control, the return value is
FALSE.
Remarks
The edit control does not scroll vertically past the last line of text in the
edit control. If the current line plus the number of lines specified by the cyScroll parameter exceeds the total number of lines in the edit control, the value is
adjusted so that the last line of the edit control is scrolled to the top of
the edit-control window.
The EM_LINESCROLL message can be used to scroll horizontally past the last
character of any line.
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
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
|