From: Julian Smart Date: Mon, 8 Jun 1998 11:48:29 +0000 (+0000) Subject: Notes about implementing EVT_LEAVE_WINDOW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b18268d34bb35329f5b3fabde79679fa335976a4?ds=inline Notes about implementing EVT_LEAVE_WINDOW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/msw/todo.txt b/docs/msw/todo.txt index 9f52631702..424fa3d6b6 100644 --- a/docs/msw/todo.txt +++ b/docs/msw/todo.txt @@ -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 ------------