[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES: menus in windows - window handle?



8 aug 2010 kl. 22.41 skrev Jo Even Skarstein:

> On 08/04/2010 09:53 PM, Helmut Karlowski wrote:
> 
>>>>> I guess these are needed for nested submenus (menu from a menu). But
>>>>> then the topmost 'parent' should point to - the window, shouldn't it?
>>>>> 
>>> That doesn't help much, as you can't detect which window the menu is
>>> attached when a sub-menu is selected. I suggest abusing msg[1]. This
>> 
>> True. So forget this idea and think about the other suggested ways.
> 
> So what happened here? Did you guys agree on a solution?

I solved it by cloning the resource tree used for the menu, and identifying the window using the address of the resource tree.

-- PeP