Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

MENU Resource Statement

Overview

The MENU resource statement defines the menu for a dialog box. If no statement is given, the dialog box has no menu. This statement is not supported within Legato. Menus can be added via the DialogSetAdHocMenu and DialogSetMenu functions.

Syntax/Parameters

Syntax

MENU menuname

Parameters

menuname

The name or identifier of the menu to be used.

Remarks

A menu can be attached to a dialog and the name will be passed to the Windows dialog processor. However, there are presently no provisions to support adding a menu resource. to add a menu use the DialogSetMenu and DialogSetAdHocMenu functions.

The MENU resource statement is processed by the resource compiler but not supported by the dialog processor. It is essentially ignored and provided for resource editor compatibility.