comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Expose events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Expose events [message #17085] Tue, 14 September 1999 00:00
philaldis is currently offline  philaldis
Messages: 32
Registered: March 1999
Member
I've been having some trouble with expose events. I'm writing this
object/direct graphics window which automatically protects its colours
when the computer is running in 8 bit mode. So rather than having to
redraw the objects each time I get an expose event, I thought it would
be better to employ a pixmap. So I draw into the pixmap and then copy
to the screen,. Everytime a refresh is required I Device, COPY to teh
window form the pixmap. However for some reason as soon as the program
finishes, i.e. after it finishes the first initial drawing, the window
wipes itself blank for no reason. Then the further device, copies
whenever there are expose events don't do anything. I have played
around and it seems that when expose events are on (and so retain is =
0) the device copy is a very dubious beast.

Also, I find that if someone resizes a window, the I get about 15 secs
of non-stop resize events which is stupid. Does anyone know why there
are so many?

I'd appreciate any suggestions, as I'd prefer not to have to end up
just redrawing evrything every time.

I'm using windows NT and IDL 5.1

Cheers,
Phil
[Message index]
 
Read Message
Previous Topic: Feature-AND
Next Topic: TVRD to make GIF's with 24-bit color

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:49:22 PDT 2025

Total time taken to generate the page: 0.47886 seconds