SAP GUI Functions (SAPGUI) > Alphabetical List of Functions > sapgui_window_resize

sapgui_window_resize

Example: sapgui_window_resize Window Functions

Resizes the active window.

int sapgui_window_resize( const char *width, const char *height, [args,]  LAST );
width sapgui_window_resize
height sapgui_window_resizet
args Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_window_resize resizes the active window to width and height.

Object Sizes

Object sizes are in expressed in character metric. A object of width 100 can display approximately 100 characters of the default font and size. A height of 21 means that approximately 21 lines of text of the default font and size can be displayed.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

Parameterization

You can parameterize all string (char type) arguments.