Re: GET_DRAW_VIEW question [message #16226 is a reply to message #16132] |
Mon, 05 July 1999 00:00  |
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
|
|
|