Brent wrote:
> 1) subcategories: aren't sorted so the submenu shows
> up where the first search in that subcategory name
> should show up. For example in my genealogy addon, my
> first search in the menu was named: 1895 .. map
> (shortcut: at95). I moved this to a subcategory Maps
> and now there's a Maps submenu as the first menu item.
> The submenus (subcategories) should be sorted and
> should appear first in the menu then the actual
> searches should appear sorted. Glenn, do you think
> this would be easy to fix?
Hmmm. I see your point. I'll take a look.
> 2) menu hook feature: I guess I don't know how to use
> this properly. I was hoping to be able to add a help
> link to my genealogy menu but when I tried to do this
> in the menu hook it added a duplicate genealogy
> submenu. It's not feasible to build the menu manually
> with all of my genealogy searches. So maybe what I'd
> like is a Find Menu function in MenuBuilder ActiveX
> control that will find a menu ie: Genealogy/Maps or
> Genealogy.
Another hmmm. I was under they assumption that menu items would be added to
the main menu. I see why it makes sense to do what you're trying to do.
> 2) menu hook feature part 2: Also I would like to use
> it for the bookmarks addon but I can't figure out how
> to have the bookmarks show up as submenus and items as
> well as be accessible by typing in a shortcut. For
> example: Yahoo Bookmarks (shortcut: bmya) should
> popup a menu with the bookmarks. Also I would like to
> have a Yahoo Bookmarks submenu off the standard popup
> menu that would also have the bookmarks. I see the
> nomenuitem but that only solves the help menu portion
> of it. How do I still have a shortcut assigned to it?
Don't quite understand what you're saying. Here's an example of adding a
submenu to the main menu, and then adding 5 items to that submenu:
-----------------------------------
function googlespell_menuhook( mb )
{
var hmenu = mb.AppendSubMenu( 'Some Google Searches' );
for ( var i = 0; i < 5; i++ )
mb.AppendMenuItem( 'Google ' + i, 'gg', '', hmenu );
}
registerMenuHook( googlespell_menuhook );
-----------------------------------
You can have a shortcut for any item (not submenu) if it is an actual
shortcut/alias.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel