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

Home » Public Forums » archive » Re: testcase
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: testcase [message #30045 is a reply to message #30044] Wed, 03 April 2002 17:35 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Ted Cary" <tedcary@yahoo.com> wrote :

> Just run the program, resize the window a few times, and watch the
> command line. If your computer is like mine, TLB_SIZE events will
> always generate WIDGET_DRAW expose events, and the X field in the expose
> event structures will not depend on the viewport position at all, but
> will always be equal to the draw widget's screen y size. What am I
> doing wrong?

Nothing, as far as I can tell. Your program seems to work fine on IDL 5.5,
Win2k.

Resizing the draw widget returns the scroll bars to their 0 positions and
event.x returns 0 as it should. Moving the X scroll bar and generating an
expose event other than resize shows that event.x returns reasonable values.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idl -rt as cron job
Next Topic: Re: Expose Events (easy questions)

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

Current Time: Sat Oct 11 12:57:26 PDT 2025

Total time taken to generate the page: 0.24034 seconds