SetStdioWindowPosition
- Updated2023-02-21
- 1 minute(s) read
SetStdioWindowPosition
int SetStdioWindowPosition (int top, int left);
Purpose
Sets the position of the client area of the console window relative to the upper left corner of the screen.
Parameters
Input | ||
Name | Type | Description |
top | int | Distance relative to the top of the screen, in pixels, of the top of client area of the console window. To vertically center the console window within the areas of the screen, pass VAL_AUTO_CENTER. Valid Range: VAL_AUTO_CENTER -16000 to +16000 |
left | int | Distance relative to the left edge of the screen, in pixels, of the left edge of client area of the console window. To horizontally center the console window within the areas of the screen, pass VAL_AUTO_CENTER. Valid Range: VAL_AUTO_CENTER -16000 to +16000 |
Return Value
Name | Type | Description | ||||||||||
status | int | Indicates whether the function succeeded.
|
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 SetStdioWindowPosition function.