WinZoom

Maximizes a window to full-screen.

Syntax:

WinZoom (partial-winname)

Parameters:

(s) partial-winname either an initial portion of, or an entire window name. The most-recently used window whose title matches the name will be shown.

Returns:

(i) @TRUE if a window was found to zoom.; @FALSE if no windows were found.

 

Use this function to "zoom" windows to full screen size.

A partial-winname of "" (null string) zooms the current WIL interpreter window.

This function works only with top-level (parent) application windows.

Example:

Run("notepad.exe", "")
WinZoom("~Notepad")
TimeDelay(3)
WinShow("~Notepad")

See Also:

RunZoom, WinHide, WinIconize, WinPlace, WinShow, Partial Window Names, IntControl 46