SetCurrentScreen

Sets the current screen of the thread group belonging to the running thread

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

Syntax

  #include <nwconio.h>  
   
  int SetCurrentScreen  (  
     int   screenHandle);
  

Parameters

screenHandle

(IN) Specifies the screen handle of the screen to make current.

Return Values

The following table lists return values and descriptions.

Value

Hex

Name

Description

0

(0x00)

ESUCCESS

Successful.

22

(0x16)

EBANHNDL

Bad screen handle was passed in.

Remarks

This function sets the screen specified by the screenHandle parameter as the target of screen I/O functions. It does not change the displayed screen.

See scrhand.c.

See Also

CreateScreen, DestroyScreen, DisplayScreen