Post a message

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Post a message

Submitted by Anonymous on Mon, 02/04/2002 - 09:52. Developers
Hi to everybody,
I need to put in the message queue, of a window, a user message to execute later a particular command. I found the XPutBackEvent function to post a message but, I don`t know how to save the application information needed to the message.
Have you any idea?
Thank you very much.

ICS_support

See the information for http//www.motifzone.com/resources/man/XClientMessageEvent.html ; Xlib provides a hook for you to send short messages using the event mechanism.

However, it is more likely that there is a better mechanism, such as setting a flag in your application which another part can check; or perhaps an Xt timer would do what you want.