Hi again. I'd like to set up a single function as a global accelerator handler.
This handler would be called, ideally, after the normal event-handling stuff
has a chance to handle the keyboard input. This would let me have global
function keys that operated the same regardless of which window had focus
(unless that window ate the input anyway).
Has anyone done anything like this?
···
-------------------------------------------------------------------------------------
Jeff Kotula Systems Architecture Manager
Vital Images jkotula@vitalimages.com
Although the module is mathematically correct, the solution
is physically impossible. Either that, or you have actually
created mass and I will apologize for underestimating
your power.
-- Things to Tell Programmers,
Dilbert Short List
The chain for wxCommandEvent handlers eventually goes to the wxApp if not handled elsewhere. Bind these types of handlers on the wxApp and you're golden.
I believe there is also some support for explicit global accellerator tables, but I haven't used those as-of-yet.
Good luck,
Mike
Jeff Kotula wrote:
···
Hi again. I'd like to set up a single function as a global accelerator handler.
This handler would be called, ideally, after the normal event-handling stuff
has a chance to handle the keyboard input. This would let me have global
function keys that operated the same regardless of which window had focus
(unless that window ate the input anyway).
Has anyone done anything like this?
-------------------------------------------------------------------------------------
Jeff Kotula Systems Architecture Manager
Vital Images jkotula@vitalimages.com
Although the module is mathematically correct, the solution
is physically impossible. Either that, or you have actually
created mass and I will apologize for underestimating
your power.
-- Things to Tell Programmers,
Dilbert Short List