Notes about implementing EVT_LEAVE_WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c03b8ea8cd
commit
b18268d34b
@ -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
|
||||
------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user