DtvLong dal_wdg_fnc_drp (iwd, fnc)

Sets the function pointer to the Pre_DROP trigger.

Input Parameters Significance
DtvLong iwd widget Id
int (*fnc)() pointer to Pre_Drop function

Output Parameters Significance
none -

Return Code Significance
0 else default operation is executed default operation is not executed

The function allows you to program your own DRAG&DROP functionality. If a Pre_DROP trigger function has been set at a widget, this is called prior to the DROP action. If the function delivers a return code which is not zero, the default operation is not executed.

The target widget for the DROP action can be set using the function > dal_wdg_set_dst < .