formZ SDK | 5.0 API Reference | System | User Interface (FUIM) | Templates

fz_fuim_setup_data_func

Description

Interface setup function prototype. Use this prototype to create a user interface template that is invoked by the driver function: fz_fuim_dlog_drive_data. This callback function is called to create fuim template content for dialogs and palettes. This function should call fz_fuim_tmpl_init to initialize the template and then call functions to create the desired items (functions that start with fz_fuim_new_) and bind them to their corresponding storage (functions that start with fz_fuim_item_). The template utility functions (functions that start with fz_fuim_tmpl_) can be used to add additional functionality to the template.

The tmpl_data parameter is the data pointer that is provided by the driver function and is how to get external information into the setup function without the need for a global variable.

Plugin Prototype

fzrt_error_td fz_fuim_setup_data_func(

fz_fuim_tmpl_ptr

tmpl_ptr,

fzrt_ptr

tmpl_data )

Parameters

tmpl_ptr [Input]

pointer to fuim template (provided by driver). Needed for additional fuim function calls

tmpl_data [Input]

data pointer that is provided by the driver function

Returns

Error codes

Availability

5.0.0.0

See Also

fz_fuim_setup_func, fz_fuim_setup_windex_func,

Defined in

fz_fuim_api.h