home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: kevyn@world.std.com (Kevyn Ford)
- Newsgroups: fj.mail-lists.x-window
- Subject: Sending ClientMessage event with XSendEvent
- Message-ID: <1992Dec29.191509.3593@sm.sony.co.jp>
- Date: 29 Dec 92 19:15:09 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: The World Public Access UNIX, Brookline, MA
- Lines: 26
- Approved: michael@sm.sony.co.jp
-
- Date: 29 Dec 92 15:23:04 GMT
- Message-Id: <C011EH.83w@world.std.com>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
-
- Grumble, grumble...ok, after searching every bloody book on X that I have, I
- still cannot find an obvious answer to this question:
-
- I want to send an event (ClientMessage) to a window. I've added the event
- handler to the window with XtAddEventHandler and I'm sending the event via
- XSendEvent.
-
- Now, I'd like to send the ClientMessage event because I simply want the window
- to update its info (from a database) when I tell it to. Since no other event
- seems to fit the bill, ClientMessage was selected. The problem is that I don't
- know what event mask to use in the XtAddEventHandler() or XSendEvent() calls -
- there isn't a mask for ClientMessage since *every* window should be able to
- get this event.
-
- So what event mask should I be using? NULL, NoEventMask, or what? Arrrgh!
-
- -
- Kevyn B. ford
- kevyn@kodak.com
- kevyn@world.std.com
-