Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Access TSVN Shell Context Menu

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Access TSVN Shell Context Menu

Author stepand76 <stepand76 at gmail dot com>
Full name stepand76 <stepand76 at gmail dot com>
Date 2009-09-30 06:33:55 PDT
Message Hi *,

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)
help (depends on language, cannot be used)
id (not unique, cannot be used)
icon

It would be great to add some custom data to MENUITEMINFO (MIIM_DATA)
to each menu item when creating the context menu. This data should
contain some unique id to recognise it in application.

Is it possible in future? Or is there another way to recognise that
menu items? Thank you.

PS: I know about tsvn-automation (http://tortoisesvn.n​et/docs/release/
TortoiseSVN_en/tsvn-​automation.html) and also about TSVN COM
interface. But it doesn't allow to determine what items (commands) are
visible (enabled) for the set of selected files.

« Previous message in topic | 1 of 18 | Next message in topic »

Messages

Show all messages in topic

Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-09-30 06:33:55 PDT
     Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-09-30 06:59:38 PDT
         Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-09-30 07:58:37 PDT
             Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-09-30 09:40:18 PDT
                 Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-09-30 11:02:59 PDT
                     Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-01 00:00:49 PDT
                         Re: Access TSVN Shell Context Menu jeanmarc Jean-Marc van Leerdam 2009-10-01 00:05:47 PDT
                             Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-01 00:43:01 PDT
                         Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-10-01 10:26:07 PDT
                             Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-02 13:25:42 PDT
     Re: Access TSVN Shell Context Menu "Hans-Emil Skogh" <Hans-Emil dot Skogh at tritech dot se> "Hans-Emil Skogh" <Hans-Emil dot Skogh at tritech dot se> 2009-10-05 00:14:28 PDT
         Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-05 13:06:01 PDT
         Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-10-05 13:10:25 PDT
             Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-05 13:21:14 PDT
             Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-12 12:02:14 PDT
                 Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-10-12 12:09:43 PDT
                 Re: Access TSVN Shell Context Menu steveking Stefan Küng 2009-10-16 10:32:22 PDT
                     Re: Access TSVN Shell Context Menu stepand76 <stepand76 at gmail dot com> stepand76 <stepand76 at gmail dot com> 2009-10-18 13:18:16 PDT
Messages per page: