home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!world!kevyn
- From: kevyn@world.std.com (Kevyn Ford)
- Subject: Sending ClientMessage event with XSendEvent
- Message-ID: <C011EH.83w@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- Distribution: comp.windows.x
- Date: Tue, 29 Dec 1992 15:23:04 GMT
- Lines: 23
-
-
- 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
-
-
-