Dlg.FlushMsg() : Option to not include certain events

When Dlg.FlushMsg() is used, it clears the list of pending triggered events that a dialog is configured to receive and process.

However, I've noticed that in more complex scripts, messages from other scripts or external processes can end up in that list, and you wouldn't want those discarded.

Since Dlg.FlushMsg() is mainly meant to discard events caused by control interactions, could an option be added to prevent certain event types from being discarded? Specifically: custom, http, and tab .Maybe by adding new parameters to the method.

Thanks.

We'll add that in the next beta.

1 Like