formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | User Interface
Description
This will insert a menu item, after the specified menu index of the menu, with the specified text. Text is a C string. NOTE: this will not process meta characters ala the Macintosh function AppendMenu
Plugin Prototype
fzrt_error_td fzrt_menu_insert_item_text(
theMenu, | |
short | nenuindex, |
const char * | text ) |
Parameters
theMenu [Input]
menu pointer
nenuindex [Input]
1-based menu index to insert new menu item after
text [Input]
pointer to string to use a menu item text as C string
Returns
FZRT_NOERR if successful, error ID otherwise.
Availability
5.0.0.0
See Also
Function Set
Defined in