MENUSHOW

Purpose:

Displays or hides a menu or dialog box.

Syntax:

MENUSHOW(handle, visible)

handle

-

Optional. An integer, the handle of the menu or dialog box. Defaults to the current menu or dialog box.

visible

-

Optional. An integer, endpoint averaging flag.

0:

hide menu or dialog box

1:

display menu or dialog box (default)

Example:

m = menufile("test.pan");

menushow(m, 0);

 

Reads the dialog file test.pan and temporarily hides it.

Remarks:

If the dialog box is modeless, menushow(handle, 1) will display the dialog box and bring it to the forefront.

See Also:

MENUCLEAR

MENUDELETE

MENUFILE

MENULIST

SETMENUCOORDS