Cancels the interception of a Windows event on a WinDev control or window (implemented by 事件
). The procedure associated with a Windows event will not be called anymore.
Note: The interception of events is automatically stopped when the associated window is closed.
// Capture the mouse click on an edit control
// Stop intercepting WM_LBUTTONDOWN on the "EDT_EDIT1" control
<Result> = 结束事件(<Event Number>)
- 真 if the interception of the event was canceled,
- 假 in case of a problem (incorrect event number for example).
<Event Number>: Integer
Number of the event to cancel (returned by 事件).