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

fzrt_menu_change_item_attributes_obsolete

Description

Changes the attributes of a menu item. This will change 1 or more attributes of the menu item at the 1-based index If a menu attribute is in neither the add nor remove, the attribute is unchanged. Specifying the same attribute in both add and remove yields unpredictable results

Plugin Prototype

fzrt_error_td fzrt_menu_change_item_attributes_obsolete(

fzrt_menu_ptr

menu,

short

menuindex,

fzrt_menu_attributes_enum

addAttribs,

fzrt_menu_attributes_enum

removeAttribs )

Parameters

menu [Input]

menu pointer

menuindex [Input]

the 1-based index of the menu item

addAttribs [Input]

menu attributes to add to menu item

removeAttribs [Input]

menu attributes to remove from menu item

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