If you need to delete an event function from an event table entirely, regardless of what key(s) or event(s) this function is associated with, use the delete function in event table function, et_delfp():
|
||
|
|
|
|
|
|
This function searches the event table for event code-event function pairs that contain the specified function. If found, these rows in the event table are cleared. et_delfp() returns the number of event code-function pairs that are deleted from the event table.
For example, to delete the function k_dn() from the drag event table, call:
|
This call locates k_dn() in the event table and deletes all entries that were associated with the function k_dn().