Edit_GetLine macro (windowsx.h)
Retrieves a line of text from an edit or rich edit control. You can use this macro or send the EM_GETLINE message explicitly.
Syntax
void Edit_GetLine(
hwndCtl,
line,
lpch,
cchMax
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
line
Type: int
The zero-based index of the line. This parameter is ignored by a single-line edit control.
lpch
Type: LPTSTR
A pointer to a buffer that receives the string.
cchMax
Type: int
The maximum number of characters to be copied to the buffer.
Return value
None
Remarks
For more information, see EM_GETLINE
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |