So it works in mono but doesn't work in .net? On X11, windows can get the "expose" event which will tell the window to redraw when a portion of the window has been exposed (usually when another window draws itself on top). My guess is mono implements this for whatever graphics api you are using and .net doesn't?
I'm no expert in Windows programming, but I always found it annoying that Windows never seems to correctly grab events unless the window has focus. A simple example of this annoyance is in X11/Linux, I can have one window with focus, move the mouse to a window that doesn't have focus, scroll the mouse wheel and the window under the window gets the mouse event-- even though it doesn't have focus. Try that on Windows and you'll see that you must first click on the window to give it focus before you can do any other mouse events.
Last time I checked, this is the behavior in XP, Vista and now 7.



LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks