menu: nasty bug in menu tracking

Alexandre Julliard julliard at winehq.org
Thu Dec 4 16:59:48 CST 2003


Andrew de Quincey <adq_dvb at lidskialf.net> writes:

> The problem is that MSG.lParam is NOT necessarily in screen coordinates (even 
> though the comment I have removed says they are). As I can't trust the MSG.pt 
> either, this means using GetCursorPos() to determine the mouse position in 
> screen coordinates.

This is wrong, you have to use lParam, as the comment says. And the
coordinates are always in screen coords when we are tracking the
menu. Something else must be going on here.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list