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

fzrt_fzr_get_menu

Description

Gets a menu from a formZ resource file. This will load a menu from the resource file. The menu resource is labeled with "MENU" and is the same format as a string list. The first string is the menu title. The first menu item is the second string in the list.

Plugin Prototype

fzrt_error_td fzrt_fzr_get_menu(

fzrt_fzr_ref_td

fzr_ref,

fzrt_int

menuID,

fzrt_menu_ptr *

menu )

Parameters

fzr_ref [Input]

reference to resource file returned by fzrt_fzr_open

menuID [Input]

ID of MENU resource

menu [Result]

pointer to menu_ptr that receives the loaded menu

Returns

FZRT_NOERR if successful, an error ID otherwise.

Availability

5.0.0.0

See Also

fzrt_fzr_open

Function Set

fz_fzrt_base_fset


Defined in

fzrt_api.h