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

Re: [TSVN] Re: Multi-Monitor issues

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-24 12:03:21 CET

At 11:46 24/01/2005 +0100, you wrote:

>Almost in every dialog cpp file, OnInitDialog() at the very last lines
>of that method:
> if (hWndExplorer)
> CenterWindow(CWnd::FromHandle(hWndExplorer));
> EnableSaveRestore(_T("CheckoutDlg"));

Having just tried this, (for checkout), it centres the dialog on the wrong
monitor, if the explorer window you started from is on a secondary monitor.

Repro:

1. Open an Explorer window and put it on the secondary monitor.
2. Right click in the Window and chose 'SVN Checkout...'
3. Dialog opens on the primary monitor. (Probably where it was last time)
4. Drag the dialog onto the secondary monitor and OK the checkout.
5. Wait for checkout to complete (Progress box is on the secondary monitor)
6. Repeat from stage 2 - dialog again opens on the primary monitor, not
where it was when I OK'd it.

So something is wrong, I think. I haven't looked at the code at all.

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 24 12:04:02 2005

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.