From: poy <po...@12...> - 2008-07-20 14:37:17
|
the addFilter/etc functions in dwt::Application are useful when one wants to capture all messages sent in the main message loop; for example, they are used to dispatch key presses to the help window when it is opened. however, when a dialog opens, it enters into its own message loop, so messages aren't sent anymore to these filter functions. it would be nice to have similar filter functions that catch all messages sent in dialog message loops (they are caught in Policies::modalDialog). the use case for DC++ is being able to forward key presses to the help window when it is opened from the settings dialog. poy |