Windows and DataWindow controls
The Control Menu property specifies whether the Control Menu box appears in the title bar of the Window or DataWindow control.
To display the Control Menu box:
Select the ControlMenu check box on the General page of the window’s or DataWindow control’s Properties view.
The ControlMenu property takes a boolean value. The following example specifies that the Control Menu box will appear in the title bar of the DataWindow control dw_1.
dw_1.ControlMenu = TRUE