http://bugs.winehq.org/show_bug.cgi?id=16183
--- Comment #2 from Henry Kroll nospam@thenerdshow.com 2009-03-07 06:41:15 --- Created an attachment (id=19829) --> (http://bugs.winehq.org/attachment.cgi?id=19829) test case
I hacked together a test case. Run 'make' to compile with winegcc or 'make mingw' if you have the mingw wrapper instead.
Unfortunately my popup test works too well; It doesn't have this problem!
I traced winproc and I think I am using all the same API calls. It's just that I think IDA Pro is trying to animate the mouse wheel events with WM_ERASEBKGND. Maybe if I had more time to fiddle with it... Anyway, feel free to tweak and maybe this will give somebody some ideas.