National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 8 Utility Library
© National Instruments Corporation 8-75 LabWindows/CVI Standard Libraries
Parameter Discussion
To vertically center the Standard Input/Output window client area within the area of the screen,
pass VAL_AUTO_CENTER as the top parameter.
To horizontally center the Standard Input/Output window client area within the area of the
screen, pass VAL_AUTO_CENTER as the left parameter.
SetStdioWindowSize
int status = SetStdioWindowSize (int height, int width);
Purpose
Sets the height and width, in pixels, of the client area of the Standard Input/Output window. The
client area excludes the frame and the title bar.
Parameters
Input
height
integer The height, in pixels, of the client area of the
Standard Input/Output window.
Valid Range: 0 to 16000.
width
integer The width, in pixels, of the client area of the
Standard Input/Output window.
Valid Range: 0 to 16000.
Return Value
status
integer Indicates whether the function succeeded.
Return Codes
0
Success.
-1
height is not within the valid range.
-2
width is not within the valid range.