At 06:18 PM 6/9/00 +0200, you wrote:
<snip>
>The question is:
>Should we
>a) Apply this patch and forget about wIDmenu <-> hMenu potential clash ?
>b) Apply this patch *and* fix the clash ?
>c) Only fix the clash and forget about this patch ?
I don't think there is a clash.
The combo listbox is now created like a child window in controls/combo.c
But this 'strange little beast' is not keeping its style when it's reparented
in the wnd.c file (because of the code removed by my patch).
So, the style is turned from child to neither child nor popup - hence,
overlapped (main window).
An overlapped window can have a menu and has, of course, no
child Id.. A child has an Id, but can't have a menu.
With my patch, the id can't be handled as a menu handle in the (rather
special) case of the combolbox.
It's an incredibly bad design, of course, but being compatible with Windows
and having a good design is a challenge.
Gerard