OFF_USER_EVENT

OFF_USER_EVENT

IGNORES THE USER EVENTS

  • Type: Command
  • Parameter: 0
  • Group: Events

ACTION

The command OFF_USER_EVENT ignores the user event when it occurs.

The event subprogram is defined by the command ON_USER_EVENT L which assigns the label L as the starting point of the event subprogram.

SYNTAX: OFF_USER_EVENT

USE

  • The command OFF_USER_EVENT is used to disassociate the user event to a program location defined by a label.
  • When the event occurs, the program named by the label is not executed any more.

ERROR

  • None.

EXAMPLE

label event_handler

print handle(0)

on_user_event event_handler

dll_on "MyDLL.dll"

print dll_call1("USER_EVENT",handle(0))

dll_off

end

event_handler:

message "event triggered by USER_EVENT of DLL"

off_user_event

return

SEE ALSO

ON_USER_EVENT

USER_EVENT_LPARAM

USER_EVENT_WPARAM