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

Home » Public Forums » archive » Re: Expose Events (easy questions)
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: Expose Events (easy questions) [message #30061 is a reply to message #30060] Wed, 03 April 2002 10:17 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
David Fanning wrote:

> Ted Cary (tedcary@yahoo.com) writes:
>
>
>> The APP_SCROLL draw widget is in a resizable base
>
>
> I have to admit, I don't get the APP_SCROLL keyword!
> On Windows, at least, it appears to disable the
> scrolling ability of the operating system and *makes*
> you scroll the image yourself. (Tell me again, *why*
> do I want to do that when you already take care of it!?)
>
> But, that said, the values in IDL 5.4 Windows of the
> X and Y fields of the event structure are the locations
> of the lower-left corner of the window in viewport
> coordinates, which is exactly what I would expect.
>
> It is no problem copying the right part of the image
> from a pixmap, or from the image itself, using these
> values. But I still don't understand why you would
> want to. (I guess if you were going from the image
> data directly it would make some sense. But then it
> wouldn't be particularly fast.)

I think the most reasonable use of this would be to implement something
that uses the same interface as scrolling, but does something different
from what the built-in does. For instance, a vertical scroll that takes
your through the sections of a document at a constant rate, even though
some sections are much larger than others. Or an image might be
displayed with different magnifications, depending upon which part
you're viewing.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: testcase
Next Topic: Re: journal file contents

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

Current Time: Thu Oct 09 21:47:49 PDT 2025

Total time taken to generate the page: 1.44130 seconds