Message Filtering
-
Is there any way to grab all messages of windows, child windows and non windows in an application before they are actually processed....
-
Is there any way to grab all messages of windows, child windows and non windows in an application before they are actually processed....
Create a class which implements the
IMessageFilter
interface. Add an instance of that class to theApplication
by callingApplication.AddMessageFilter
. If you're using .NET Compact Framework, this method is not available. OpenNETCF's Smart Device Framework[^] has anApplicationEx
class to replaceApplication
, which does have this feature. Stability. What an interesting concept. -- Chris Maunder -
Create a class which implements the
IMessageFilter
interface. Add an instance of that class to theApplication
by callingApplication.AddMessageFilter
. If you're using .NET Compact Framework, this method is not available. OpenNETCF's Smart Device Framework[^] has anApplicationEx
class to replaceApplication
, which does have this feature. Stability. What an interesting concept. -- Chris Maunder