Article # 434, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Can I remove messages from the thread queue?
Q. Does GEOS support removing messages from a message queue? And if so where should I look to learn how to do it? A. No, unless you are willing to manipulate the queue data structure yourself. The best you can do is to use MF_CUSTOM in ObjMessage, then in your callback change HE_method of any unwanted event to MSG_META_NULL. This way the original message is wiped out, though the event handle is still allocated until it is dispatched. Note that this is only possible in assembly.