I do have a patch that needs to be cleaned up that moves menu management to the server. It's a rather large patch because all the menu painting and event handling had to be rewritten. My plan is to finish it up once we release our next version of Crossover.
/Ulrich
On Sat, Apr 10, 2004 at 11:07:14PM +0100, Mike Hearn wrote:
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