An application sends an EM_GETLINE message to copy a line of text from an edit control and place it in a specified buffer.
EM_GETLINE wParam = (WPARAM) line; // line number to retrieve lParam = (LPARAM) (LPCSTR) lpch; // address of buffer for line
The return value is the number of characters copied. The return value is zero if the line number specified by the line parameter is greater than the number of lines in the edit control.
The copied line does not contain a terminating null character.
file: /Techref/os/win/api/win32/mess/src/msg04_28.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/3 11:57,
18.225.56.79:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/mess/src/msg04_28.htm"> EM_GETLINE</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.