formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Basic
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(
fzr_ref, | |
fzrt_int | menuID, |
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
Function Set
Defined in