
------------------------------------------------------------------------------
2.3 Select window. <Main>
------------------------------------------------------------------------------
[Name]
win_select
[Syntax]
#include <crt.h>
int win_select( whandle handle ) ;
[Arguments]
handle window handle of the window to be selected
[Return]
Returns zero if successful. When failed, returns "-1" and sets
following error code to the global variable "errno".
EW_NOTOPEN specified window not exist
[Description]
Select one of the open windows on the screen for display window.
After this function is called and a window is selected, all succeeding
screen output is drawn on the selected window.
This function does not change the overlapping order of the window.
When window is selected by this function, former cursor position of
that window is restored.