Hi I have a TOmniWorker object, which, handles a few types of messages sent from its task control.
I would like to know how can I achieve this, that is, if this task worker receives message MSG_CLEAR_MSG_QUEUE, it removes all the messages currently waiting in queue after MSG_CLEAR_MSG_QUEUE.
Is this doable?
Thank you.