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

Re: Access TSVN Shell Context Menu

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 30 Sep 2009 15:59:16 +0200

On Wed, Sep 30, 2009 at 15:33, stepand76 <stepand76_at_gmail.com> wrote:
> My task is to integrate TSVN command to our application. I'm playing
> with the TSVN shell context menu. I'm using the
> IContextMenu.QueryContextMenu method to access TSVN shell context menu
> and then I'm browsing trough the returned menu. I also can execute the
> commands (using IContextMenu.InvokeCommand). It works very well. But I
> don't know how to recognise the individual items. Using
> GetMenuItemInfo I can get:
> type of the item
> verb (depends on language, cannot be used)

The verb must not depend on language! If it is, then that would be a
bug in TSVN.

The MSDN (http://msdn.microsoft.com/en-us/library/bb776094%28VS.85%29.aspx)
clearly states that:
"The language-independent command name, or verb, is a name that can be


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-30 15:59:36 CEST

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.