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

Re: Set foreground window to foreground when external tool used as a diff/merge

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 09 Dec 2009 19:52:06 +0100

On 08.12.2009 19:51, Nikolay Belyh wrote:
> Windows Vista/7 (with UAC on?) prevents windows from "popping up" more
> strictly than it was in XP
> SO, there here is a problem: when you try to see a difference from the
> previous version, the diff/merge tool's window is opened BEHIND the
> tortoise's window. This seem to be extremely inconvenient.
>
> To fix this, tortoise shall allow "child" diff/merge tool to set
> foreground window. There is a function that does exactly this thing -
> AllowSetForegroundWindow.
> I think it would be good enough to just call that function with child
> process id.
>
> Please see the patch attached (single line added - that call to
> AllowSetForegroundWindow).
> Works for me.

Ups, completely missed your patch. But I've implemented the very same
thing in r17906 myself.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2428956
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-09 19:52:16 CET

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.