menu_flags

Description

Flags parameter for menu

Syntax

int menu_flags;

Remarks

The menu_flags variable is used in the map_menu() function. Its default value is MENUMAP. All the library functions display menus using this function rather than map_draw(mapnr,MENUMAP). The possible values that can be used are a combination of the following together with MENUMAP.

Value

Meaning

NO_SCROLL_OFF

Do not scroll off the screen

RETAIN

Place as if it were a data map

IN_BOX

Draw box around map

POP_UP_WINDOW

Place as if it were a popup map. Under Windows any map displayed with this flag is independently movable. Free maps acquire this flag automatically when displayed with the map_menu() function as long as RETAIN or BOTTOM are not specified. Attached maps only have this flag when it is passed explicitly

You can also position where the map is placed by using the map_new_position() function.