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 #30063 is a reply to message #30060] Wed, 03 April 2002 09:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@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
Previous Topic: Re: testcase
Next Topic: Re: journal file contents

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

Current Time: Sat Oct 11 00:43:21 PDT 2025

Total time taken to generate the page: 0.16131 seconds