DtvLong dal_mas_fnc_bmp (fnc)

Adds a function to the bitmap trigger stack.

Input Parameters Significance
int (*fnc)() pointer to bitmap trigger function

Output Parameters Significance
none -

Return Code Significance
0 action was registered
1 action was not registered

After a bitmap area (a field title defined as graphics) has been clicked on, the function passed is called with the following parameters:

If the function is called several times with different function pointers, the functions passed this way form a stack that is executed at the trigger moment. If one of the functions in the stack delivers a return code which is not zero, the next trigger function of the stack is jumped to (no mouse action on bitmap registered). If the return code = 0, the execution of the function is stopped.