472,110 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

get position is scrolled wxScrolledWindow

Hi,
I have a wxScrolledWindow, and some things drawn on it. I've hooked the
left click event to a certain function I've got. Anyway, everytime I do
a event.GetPosition() on the position of the mouse on the
wxScrolledWindow, it returns the physical location or position of the
mouse. Does anyone have any examples or advice on how to get the real or
position of the window including where it has been scrolled?
Thanks
Astan
Aug 7 '07 #1
1 1788
On Aug 6, 11:20 pm, Astan Chee <st...@al.com.auwrote:
Hi,
I have a wxScrolledWindow, and some things drawn on it. I've hooked the
left click event to a certain function I've got. Anyway, everytime I do
a event.GetPosition() on the position of the mouse on the
wxScrolledWindow, it returns the physical location or position of the
mouse. Does anyone have any examples or advice on how to get the real or
position of the window including where it has been scrolled?
Thanks
Astan
This sounds like a job for the wxPython list. You should try posting
there: http://www.wxpython.org/maillist.php

I also found this: http://aspn.activestate.com/ASPN/Mai...-users/3536900

Mike

Aug 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.