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

Home » Public Forums » archive » Re: expose events and window dragging in object graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: expose events and window dragging in object graphics [message #19747] Fri, 14 April 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Richard Tyc (richt@sbrc.umanitoba.ca) writes:

> I have a IDLgrWindow object which generates expose events and the RETAIN is
> set to 0 indicating no backing store as the manuals suggest to improve
> performance and utilize hardware acceleration.
>
> In the app, I create a modal , top level CW_FORM widget and when I drag this
> widget in front of the Window, it does not update the window until AFTER I
> release the mouse which results in a very unprofessional look during the
> drag since the widget is essentially sweeping across the Draw Widget
> (IDLgrWindow) with no background update.
>
> Are expose events not produced during the drag ?
> Anyway around this ?

I've read the warning, and in fact I almost always set
RETAIN=0 in my object graphics windows, but I keep noticing
in code written at RSI that RETAIN is always set to 2.
I find this *very* suspicious. :-)

Cheers,

David

P.S. I don't know any ways around it.

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: bad axis label day
Next Topic: bad axis label day

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

Current Time: Sat Oct 11 09:27:15 PDT 2025

Total time taken to generate the page: 1.19945 seconds