On Sat, 10 Apr 2004 12:20:56 -0500, Geoffrey Hausheer wrote:
That last line is where wine and Windows differ. In windows, the menuid is always different, so hMenu never equals hOldMenu. In wine, we reuse the menuid, so hMenu always equals hOldMenu. Since SetMenu didn't get called after the last createMenu, the menus don't work.
Good catch! Our menu handles are created entirely client side, I think the right way to fix this is to merge the menu handles with the other handle hashtables like I think Windows does it.
Ulrich has a patch to do this. What is the status of that work Ulrich?
thanks -mike