Re: Announcing The Arrival of Popup Gorilla

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu