Your program can activate a limited subset of menu commands using the _wmenuclick function. The commands you can choose are limited to a subset of the Window menu as represented by the following constants:
_WINTILE
Tile the windows
_WINCASCADE
Cascade the windows
_WINARRANGE
Arrange any document icons at the bottom of the application window
_WINSTATBAR
Toggle the status bar's visibility
The following code demonstrates using the _wmenuclick function to display the status bar:
result = _wmenuclick( _WINSTATBAR );
The _wmenuclick function returns 0 if successful or –1 if not.
See QWDEMO.C for further examples.