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

Home » Public Forums » archive » GET_DRAW_VIEW question
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: GET_DRAW_VIEW question [message #16226 is a reply to message #16132] Mon, 05 July 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Daniel Peduzzi (peduzzi@mediaone.net) writes:

> I'm interested in retrieving the viewport position for a scrolling
> draw widget via the GET_DRAW_VIEW keyword to WIDGET_CONTROL.
> This seems to work well for the case when the viewport size equals
> the size of the draw widget (in which case, I don't need the widget
> to be scrollable.) But for all other cases when the viewport size
> is smaller than the actual widget size, I get the same non-zero offset
> of 19 (on an Ultrabook.)
>
> Does anyone know why this is the case? Should I simply compensate for this
> offset by subtracting 19 from the y position? I'm concerned that this value
> may be different on other systems.

Well, it is definitely different on different machines.
I get an offset of 13 on my Windows NT machine. But I don't
really understand why. Could you please let us know if you
find out?

Thanks,

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
Previous Topic: Classes and Widget Event Handlers...
Next Topic: Saving structure variables

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

Current Time: Fri Oct 10 12:02:26 PDT 2025

Total time taken to generate the page: 0.72208 seconds