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

Home » Public Forums » archive » Re: Exceed and IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Exceed and IDL [message #16189 is a reply to message #16186] Thu, 08 July 1999 00:00 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning <davidf@dfanning.com> wrote in message
news:MPG.11ed28f44513782f989815@news.frii.com...
> Several obtuse reasons for setting RETAIN=0 in a draw widget
> come immediately to mind:
>
> (1) You are using object graphics in the window, in which
> case RETAIN should *always* be set to 0.

I disagree. For object graphics draw widgets on Windows NT, I have found the
best results (fast drawing, fast refresh when a window is re-exposed) are
achieved with:

RENDERER = 0 ; "Hardware" renderer
RETAIN=2 ; IDL provides backing store
EXPOSE_EVENTS=0 ; Not necessary for widget application to redraw its
own windows

I imagine that other platforms have different optimum settings, but you use
NT primarily, don't you David?

--
Mark Hadfield m.hadfield@niwa.cri.nz
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand

>
> (2) You know how screwy colors can be and you wish to
> protect the colors associated with this application
> by "restoring" your colors every time the widget is
> exposed.
>
> Cheers,
>
> David
>
> --
> 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: xwindow question (problem found)
Next Topic: I don't know why happened error

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

Current Time: Sat Oct 11 08:58:27 PDT 2025

Total time taken to generate the page: 0.28984 seconds