SetInputAtOutputCursorPosition

Sets the input cursor position to the output cursor position

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Screen Handling

Syntax

  #include <nwconio.h>  
   
  int SetInputAtOutputCursorPosition  (void); 
  

Return Values

The following table lists return values and descriptions.

Value

Hex

Name

Description

0

(0x00)

ESUCCESS

Successful.

19

(0x13)

EWRNGKND

Input from the System Console was attempted.

23

(0x17)

ENO_SCRNS

Screen I/O was attempted when no screens were open.

Remarks

The input cursor position is set to the output cursor position on the current screen. If another thread is waiting on the keyboard, the current thread waits until the keyboard is free.

See Also

DisplayInputCursor, GetPositionOfOutputCursor, gotoxy, HideInputCursor, SetOutputAtInputCursorPosition, wherex, wherey