NvtEraseLine
BOOL NvtEraseLine(
HDISPLAY hDisplay,  
UINT fuMode  
);

The NvtEraseLine function erases the current line without affecting the lines that follow.

Parameters

hDisplay
Handle to the virtual display.
fuMode
Mode which specifies how the line is to be erased. The following values may be used:
Value Description
0 The line is erased from the current cursor position to the end of the line.
1 The line is cleared from the beginning of the line to the current cursor position.
2 The entire line is cleared.

Return Value

If the function succeeds, the return value is non-zero. If the function fails, it returns zero.

Remarks

This function does not change the current cursor position. To delete a line from the display and shift the remaining lines up, use the NvtDeleteLine function.

Requirements

Client: Requires Windows Vista, Windows XP or Windows 2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnvtav6.lib.
Unicode: Implemented as Unicode and ANSI versions.

See Also

NvtClearDisplay, NvtDeleteChar, NvtDeleteLine, NvtEraseChar


Copyright © 2008 Catalyst Development Corporation. All rights reserved.