Function OpenStreamWindow

Top 

Declaration:

unsigned long OpenStreamWindow(char title[]);

Description

Opens the I/O Stream window window and sets up its title (the title parameter).

You can do the same with the OpenWindow function, by transferring the WIN_STREAM constant to it as a parameter, however in this case, you cannot set up the title.

If there is an "unowned" stream window on the screen, the new window will not be opened and the already opened window will be used.

The new window opens in a random place on the screen and has certain preset size. To resize the window, use the SetWindowSize function, or do it manually.

Returned value

The identifier of opened window. It can be transferred to other window operation functions as a parameter.

Example

unsigned long handle = OpenStreamWindow("Serial port I/O");