formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Templates
Description
Creates a new custom item.
Pass FZ_FUIM_NONE for id to not assign a specific item id.
An id will be created and assigned to the item.
Pass FZ_FUIM_ROOT for parent if there is no parent group.
item_func is an optional function that is called to handle actions occurring to this item.
Plugin Prototype
short fz_fuim_new_custom(
fuim_tmpl, | |
short | parent, |
short | id, |
fzrt_int | flags, |
char * | titl_str, |
cust_func, | |
void * | cust_data ) |
Parameters
fuim_tmpl [Input]
fuim manager
parent [Input]
parent group
id [Input]
custom item id
flags [Input]
construction flags
Bit Flag Type: fz_fuim_flag_enum
titl_str [Input, Optional]
custom title
Default Value: a picture item without a name is created
cust_func [Input, Optional]
custom function
cust_data [Input, Optional]
data to pass to custom function
if cust_func is NULL, this is ignored
Returns
Custom id
Availability
5.0.0.0
Function Set
Defined in