473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1844
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: BrassWorld | last post by:
Howdy, I know how to tell a DIV with a vertical scroll bar how far to scroll: document.getElementById( 'myDIV' ).scrollTop += 40; However, under certain conditions, 'myDIV' is hidden. Upon...
1
by: Martin | last post by:
I have a web page (IE only; intranet only) that is both wider and longer than the browser window. I've noticed that if the user has scrolled the page DOWN and then refreshes the page, the new page...
3
by: Fabio Cannizzo | last post by:
If a multiline text window is "scrolled", how can I get ho much it has been scrolled from the begin of the document? Thanks, Fabio
2
by: Mike Brophy | last post by:
Here's my problem: I need to present text in a scrolling textarea such that a checkbox is not enabled until the user has scrolled to the very last line of the text using the vertical scrollbar. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.