Re: Announcing The Arrival of Popup Gorilla
- Posted by euman at bellsouth.net Apr 10, 2003
- 370 views
----- Original Message ----- From: <jordah at btopenworld.com> To: "EUforum" <EUforum at topica.com> Subject: Re: Announcing The Arrival of Popup Gorilla > > hi Euman, > The installer needn't be cross-platform but if you could achieve this, > then it would be great. For the mean time you could implement the win32 > version. Besides a lot of pple use windows. i wish you all my luck. > > BTW, I have a question for u, > > 1) Can you find the zero based index of a menu item using its id without > looping through the whole menu set? > Jordah Just a guess here but try something similar to this: integer mItems, mItemSubs hmenu = GetMenu(hwnd) hsubmenu = GetSubMenu(GetSubMenu(hmenu,mItemSubs),mItems) "mItem will be what you see before the dropdown and mItemSubs are the Items associated with the dropdown and this is zero based" Perhaps this will clue you in, if not, let me know... Euman