]> git.saurik.com Git - wxWidgets.git/commitdiff
Notes about implementing EVT_LEAVE_WINDOW
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Jun 1998 11:48:29 +0000 (11:48 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Jun 1998 11:48:29 +0000 (11:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/msw/todo.txt

index 9f52631702edfa658bd903ac39db32d2367ec94d..424fa3d6b69245146ae0d81773b32384ff896f00 100644 (file)
@@ -100,6 +100,15 @@ Simplify the toolbar samples.
 
 Add a wxTabCtrl sample.
 
+EVT_ENTER/LEAVE_WINDOW: Perhaps one approach to reliable implementation of
+EVT_LEAVE_WINDOW is to set a flag when the mouse pointer is in a window,
+then in idle time, check this window.
+If the flag is set but the mouse pointer is outside the window, then
+it's time to generate an EVT_LEAVE_WINDOW. This would be necessary at
+least for the case when the mouse cursor goes off the application windows,
+and no motion event was generated (i.e. you moved the mouse quickly!).
+If it goes from one app window to another, you could generate the event sooner.
+
 LOW PRIORITY
 ------------