Intercepting a Focus event - at wxWindow level Topic is solved
-
- Part Of The Furniture
- Posts: 1511
- Joined: Sun Jun 19, 2005 11:37 am
- Location: Singapore
- Contact:
Intercepting a Focus event - at wxWindow level
Does anyone by any chance know how to capture the focus loss event from within wxWindow (hence that function will be called for all derived classes?). I have a balloon tooltip that is programatically called upon, I want the balloon to disappear when focus has been lost from the window (whatever window it is, hence im using wxWindow)
Have a look at the wxEVT_KILL_FOCUS/wxEVT_SET_FOCUS events:
http://www.wxwidgets.org/manuals/2.6.2/ ... focusevent
HTH
Chris
------------------------------------------------------------
Chinook Developer Studio
*Free multiplatform IDE for BSD.Linux.Solaris.Windows*
http://www.degarrah.com/products/chinook/index.php
Zephyr Automated Test Runner
*Cross platform automated functional and regression testing*
http://www.degarrah.com/products/zephyr/index.php
------------------------------------------------------------
http://www.wxwidgets.org/manuals/2.6.2/ ... focusevent
HTH
Chris
------------------------------------------------------------
Chinook Developer Studio
*Free multiplatform IDE for BSD.Linux.Solaris.Windows*
http://www.degarrah.com/products/chinook/index.php
Zephyr Automated Test Runner
*Cross platform automated functional and regression testing*
http://www.degarrah.com/products/zephyr/index.php
------------------------------------------------------------