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

Home » Public Forums » archive » Why is the content of my object graphics window being wiped?
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: Why is the content of my object graphics window being wiped? [message #84834 is a reply to message #84818] Wed, 12 June 2013 12:55 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
I'm having a similar problem, but with Function graphics.

I've gotten an nVidia driver installed (which apparently doesn't play
nice with RHEL6). Could that be the cause of the problem?

How does one set the FG equivalent of RETAIN=2?

cheers,

paulv



On 06/12/13 08:24, David Platten wrote:
> Hi there. I've been looking into using object windows to display
> object graphics. I have successfully written a routine that draws the
> Mandelbrot set on the screen. The problem I have is that if I
> minimize the window and then restore it, the contents of the object
> window are gone. Equally, if I move the window so that some of it is
> off the side of my screen, and then move it back, the content that
> was off the screen is also wiped. I can issue another "draw" command
> to the object so that it comes back, but this is a bit clumsy. I
> suspect there is a command that I don't know about that will
> automatically redraw the object for me - does anyone know what it
> is?
>
> This simple example illustrates my point:
>
> ; Create a destination object, in this case a window: oWindow =
> OBJ_NEW('IDLgrWindow') ; Create a viewport that fills the entire
> window: oView = OBJ_NEW('IDLgrView')
>
> ; Set the color property of the view: oView->SetProperty,
> COLOR=[255,0,0] ; Redraw: oWindow->Draw, oView
>
> If you minimize the window, and then restore it the red has been
> replaced with black. Equally, if you were to drag the window off the
> edge of the screen the red is replaced with black.
>
> Thanks for your help,
>
> David
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: spacing between characters
Next Topic: cgHistogram - logarithmic y-axis with integer values

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

Current Time: Wed Oct 08 19:23:40 PDT 2025

Total time taken to generate the page: 0.00591 seconds