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

# fz_fuim_tmpl_set_cancel_func

Description

Registers a cancel action function. This function registers a function which is to be is called when the user selects the Cancel button in a dialog. The registered function should perform any required actions in response to the user selecting the Cancel button. It should return TRUE if it handled the reset properly and FALSE if it did not. If FALSE is returned then the Reset operation is not performed.

Plugin Prototype

void fz_fuim_tmpl_set_cancel_func(

fz_fuim_tmpl_ptr | fuim_tmpl,
fz_fuim_tmpl_actn_func | cancel_func,
void * | cancel_data )

Parameters

fuim_tmpl [Input]

fuim manager

cancel_func [Input]

cancel function

cancel_data [Input, Optional]

pointer to data to pass to the cancel function.

Returns

None

Availability

5.0.0.0

See Also

fz_fuim_tmpl_set_ok_func, fz_fuim_tmpl_set_reset_func

Function Set

fz_fuim_fset

Defined in

fz_fuim_api.h