formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | User Interface

fzrt_menu_get_item_text

Description

Gets the text of a menu item. This will get the text of a specified menu item. The string will be in Pascal format, the index is 1-based

Plugin Prototype

fzrt_error_td fzrt_menu_get_item_text(

fzrt_menu_ptr

theMenu,

short

item,

char *

itemString )

Parameters

theMenu [Input]

the menu pointer

item [Input]

the 1-based index of the menu item

Range: item >= 1

itemString [Result]

pointer to a buffer that received a C string - user must allocate the buffer large enough

Returns

FZRT_NOERR on success, error id otherwise

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_ui_fset


Defined in

fzrt_api.h