home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!island!coney!hue
- From: hue@island.COM (Pond Scum)
- Subject: Re: problem with repaint procedures in XView
- Message-ID: <hue.726653246@coney>
- Sender: usenet@island.COM (The Usenet mail target)
- Organization: Island Graphics Corp.
- References: <1993Jan5.092110.165445@dstos3.dsto.gov.au> <1ik60lINN22q@peanuts.informatik.uni-tuebingen.de>
- Date: Sun, 10 Jan 1993 08:07:26 GMT
- Lines: 16
-
- myka@informatik.uni-tuebingen.de (Andreas Myka) writes:
- >Of course, if the canvas is retained by the X server,
- >this only leads to annoying results in case of
- >a complete refresh. In this case all the canvases
- >are cleared but not repainted.
-
- I bet I know what your problem is. Are you clearing with WINDOW_CONSUME_EVENTS,
- WIN_NO_EVENTS, and then setting it again with a list of events to consume?
- If so, you are doing what I did. This worked under SunView, but doesn't
- work under XView. I think you need to enable a few other things so the
- repaint requests come through. You either have to figure out which other
- events to add (probably WIN_REPAINT and WIN_GRAPHICS_EXPOSE at least),
- or use WINDOW_CONSUME_EVENT and WINDOW_IGNORE_EVENT to add or remove
- individual types of events. I chose to do the latter.
-
- -Jonathan hue@island.COM
-