I have integrated a Qt dialog into a traditional Win32 application, and am now a bit stumped on how to manage the keyboard events propagating from Qt->Win32. Is there any way test if Qt is 'handling' events (eg, input going to an editbox), and prevent these events propagating to the host application?
The Win32 application has its own very-complex accelerator system, and when working with native editboxes generally we disable accelerators manually. I donb't have the ability to do this for the Qt dialog, as its a shared widget amongst several applications.
Currently I disable the hosts accelerators on the dialog as a whole gaining focus, but would it be possible to tell Qt to prevent kbd events from editboxes from propagating? Ideally without modifying the QtDialogs code (although I can do that if necessary?)