LabWindows/CVI

Content Type
Programming Language
Current manual

SetStdioWindowSize

SetStdioWindowSize

int SetStdioWindowSize (int height, int width);

Purpose

Sets the height and width, in pixels, of the console window.

Parameters

Input
Name Type Description
height int Height, in pixels, of the console window.

Valid range = 0 to 16,000
width int Width, in pixels, of the console window.

Valid range = 0 to 16,000

Return Value

Name Type Description
status int Indicates whether the function succeeded.

Code Description
0 Success.
-1 height is not within the valid range.
-2 width is not within the valid range.
-3 You must call this function from the main thread of your program.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Example

Refer to userint\standardio.cws for an example of using the SetStdioWindowSize function.

Was this information helpful?