Op Tue, 24 Jan 2012 21:32:07 +0100 schreef Dilwyn Jones
<[email protected]>:
Bob Spelten wrote:
Now the problems start. The pointer flashes between No-Entry and arrow
when over the bars, they are difficult to reach.
When I have managed to move the image I can no longer get the pointer
inside the window!
The mouse is stuck on the bar, so moving it will keep moving the image.
Even when I kill the job I still cannot get the pointer inside the QPC
window, only on the top of the frame.
The effect is that any jobs running inside QPC are unreachable, Ctrl+C
has no effect, I have to end the QPC task.
Has anyone run into this?
Yes, but I never really looked into it enough to find a solution. I took
the easy way out and recoded a different way which worked and I never
went back to look at it.
In a viewer, what I tend to do is read the pointer position in the
picture window and depending on where the pointer is, pan or scroll the
picture in that direction.
If it would help, I could send you the sources for the Launchpad Pic
Viewer to compare how I code this and the bars problem.
Dilwyn, I based this section on your example from 2009.
If Launchpad is different here, this is worth studying.
But it seems to me to be a PE feature. In principle the window's left-top
is fixed, when resized to maximum the Wman will place the window in the
right-bottom and adjust the origin.
Even a less then maximum window, when moved to the right-bottom corner may
give this "pointer on the bar" reading problem.
A work around could be to calculate the position with more margin, before
calling MDRAW and not rely on Wman.
Bob
--
The BSJR QL software site at: http://members.chello.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm