catching all control events with one handler?

rory rorywalsh at gmail.com
Mon Feb 11 05:00:39 PST 2008


Is it possible to catch and process all controls events with one event
handler? At the moment I have different events handlers for
scrollbars, comboboxs and checkboxes. I know I can check the type of
control that is sending the event but I'm having problems mixing
command events with scroll events. In my event table I have been using
EVT_MENU and EVT_COMMAND_SCROLL, how do I create an event handler that
handles all events? Cheers,

Rory.






More information about the wx-users mailing list