Hi Florian & John,
See my 2c below..
> Florian,
> To the best of my knowledge this is not a known bug. This means
> simply that I don't know about it.
> The code in question was put in by me as SVN revision 587, with
> an update (also by me) to handle menus as revision 606. The update
> makes me think that the code actually worked when it was first put in,
> and frankly I wouldn't put it past Microsoft to have changed the event
> code from 0x02A2 to 0x02A3. But that may also be my natural tendency to
> want to blame somebody else for my mistakes.
> I remember using the hex code because some older versions of the
> header files didn't defined the "WM_MOUSELEAVE" macro.
> John F. Fay
> Technical Fellow
> Jacobs Technology TEAS Group
> 850-883-1294
> -----Original Message-----
> Hello everyone,
> I'm trying to debug my library under Windows XP at the moment, and it
> seems like glutEntryFunc is never called, even though the comments in
> the source say that it will at least be called when the pointer leaves
> the window. Is this a known bug? Also, the code uses 0x02A2, whereas
> WM_MOUSELEAVE would actually be 0x02A3..
> Thanks, Yours, Florian

The correct value for WM_MOUSELEAVE is 0x2A3.
0x2A2 is the value of WM_NCMOUSELEAVE (Non-Client area, i.e. including the border added by Windows).
This is according to the w32api package of Cygwin.
- André Bleau, Cygwin's volunteer OpenGL package maintainer.

Nous sommes vos photos. Partagez-nous dès maintenant avec Windows Live Photos.