menu: nasty bug in menu tracking

Andrew de Quincey adq_dvb at lidskialf.net
Thu Dec 4 21:27:13 CST 2003


On Friday 05 December 2003 00:16, Mike Jackson wrote:
> Actually I think the code would work better like this:-
>
> if ((msg.message >= WM_MOUSEFIRST) && (msg.message <= WM_MOUSELAST))
> {
>             mt.pt.x = (short)LOWORD(msg.lParam);
>             mt.pt.y = (short)HIWORD(msg.lParam);
>             ClientToScreen(msg.hwnd,&mt.pt);

Hmm, thats another solution that sounds feasible.....

Anyone have any preferences for this, or for my MENU_SetCapture() solution?



More information about the wine-patches mailing list