Marcus Meissner marcus@jet.franken.de writes:
Another try on fixing the case range problems (WORD is unsigned, HBMMENU_CALLBACK is -1, so out of range of the switch).
I think this is revealing a deeper problem with that code, the magic value check should be done against the whole handle, not just the low word.