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

fzrt_menu_insert_item_text

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(

fzrt_menu_ptr

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

, fzrt_menu_append_item_text

Function Set

fz_fzrt_ui_fset


Defined in

fzrt_api.h