Re: menu: nasty bug in menu tracking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux