Minimizes or maximizes the specified window, or returns it to normal.
Syntax
void _WZoom(WHANDLE wh, int newstate)
WHANDLE wh; /* Window handle. */
int newstate; /* State of window after zoom. */
Remarks
You can specify the newstate parameter as WZ_MINIMIZE, WZ_NORMAL, or WZ_MAXIMIZE, which are defined in the PRO_EXT.H file.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.