> Re: menu items are sorted properly with subcategories
>
> Actually I fixed it last night in helpmenu.js.  Take a
> look and see if you want to change any of it.  I added
> a new sort function that takes into consideration the
> subcategories.  I initially tried to put it in the
> normal searchCompare but that also sorted it in the
> HTML popup help menu (with the checkbox in front of
> it) which didn't didn't work since it doesn't have
> subcategories information which caused the items to
> appear to not be sorted.

Sounds and looks fine to me.  Thanks for doing it!

> Re: duplicate submenu
>
> I think a Find Menu function would do everything I
> need.  The only problem I see is that with the
> registerMenuHook function, I can only append to the
> end of the menu which happens after all the search
> menu items are added so my help link would be at the
> bottom not the top where I'd like it.

OK.  I think you're right.  I can't make any promises about when I'll get a
chance to do this, though.  Maybe someone else can take a look at the
MenuBuilder component in the DLL, if I don't get to it first.  My first
thoughts are two additional methods:

1. int FindMenuItem( string ) - returns the position of a matching menu item

2. int InsertMenuItem( string, position, menuhandle )

> Re: question not making sense
>
> Ok let me see if I can reword it differently.  I would
> like the bookmarks to be connected to the help menu
> when the >> button is clicked on.  So I would like the
> user to be able to select Bookmarks->Yahoo
> Bookmarks->Bookmark 1.  Right now you have to select
> Bookmarks->Yahoo Bookmarks and a new menu will popup.
> I would also like to be able to type in bmya (alias)
> and have the menu popup like it currently functions.
> So I want Yahoo Bookmarks to be a submenu and also
> have the alias shown.  Does this make sense?

OK, I think I understand.  It sounds like you may need two separate search
functions, one as menu hook to add to the current menu, and one to popup up
a new menu much like the code in helpmenu.js.  But, I haven't thought about
it too much.

> Also does using the registerMenuHook and nomenuitem
> method keep it out of the popup html help?

No -- at least it shouldn't.



-------------------------------------------------------
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

Reply via email to