inpm_ge()

Purpose

Inputs a menu option with greying out

Syntax

int inpm_ge(data, mapnr, banned_list)

Parameters

short* data

Pointer to variable containing map number to display over the current input field

 

int mapnr

Menu map to display

 

short* banned_list

Pointer to list of fields, terminated by the null character, of the menu map options which are to be greyed out

Description

The inpm_ge() function is like inpm_e() function but also supports greying-out of the menu options specified by the parameter banned_list.

Return values

Returns ESCAPE if user presses <Esc>, otherwise returns 0

See also

inpm_e()

Example

See the inpm_e() function for an example of how this class of function can be used in an application