[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: IDiff image dragging behaviour

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-25 13:12:32 CET

Simon Large wrote:

> I TortoiseIDiff when the images are linked and I drag the image in the
> right pane, the right image follows the mouse pointer and the left image
> snaps to position, keeping in sync after a short delay. However, when I
> drag the image in the left pane, it is still the right image which
> follows the mouse pointer, and the left image which snaps to position. I
> would expect the image that the mouse is over to be the more responsive
> one.

That's because the WM_PAINT message has a very low priority. Only if no
other window messages are in the queue, then a WM_PAINT message is
generated.
If you had a *really* fast computer, you might see that both views would
'move' at the same time.

I've now changed the code to *force* a WM_PAINT message (revision 8389)

> A nice touch would be to change the pointer to an open hand over the
> image, and a closed hand when the mouse button is down, as in acrobat.
> That makes it more obvious that you can drag the images.

Done in revision 8391 - but the cursors could use some of Lübbe's touch :)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 25 13:12:51 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.