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

Re: restrictions on number of menu items in windows Explorer

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-27 17:49:12 CET

Gennady Khokhorin wrote:
> Hello, Stefan. I did hit the limit of 32 subitems in winxp+sp2. You
> right, all items addes in QueryContextMenu() as:
>
> UINT idCmd = uidFirstCmd; HMENU hParentMenu0 = ::CreateMenu(); BOOL
> res= InsertMenu(hMenu, indexMenu++, MF_POPUP | MF_BYPOSITION,
> (UINT)hParentMenu0, _T("My tools")); res = InsertMenu(hParentMenu0,
> indexMenu++, MF_STRING|MF_BYPOSITION, idCmd++, "First item"); ...
> return MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_NULL, idCmd -
> uidFirstCmd); }
>
> The limit number is different for different file types so I assume
> other programs like tortoise are cutting down available menu items.
> Never saw such limitation in win2k with tortoise svn control
> installed.

I don't know how you can work around the limitation. All I found was
this here:
http://blogs.msdn.com/oldnewthing/pages/407234.aspx#508121

Even Raymond declined to answer this :(

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 Tue Nov 27 17:49:28 2007

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.