Overview | Methods | This Package | All Packages
Adds a message filter to the application's message pump.
Syntax
public static void addMessageFilter( IMessageFilter value )
Parameters
value
An object that implements the IMessageFilter interface to be used as a message filter.
Remarks
A message filter allows a program to monitor Windows messages as they are routed to their appropriate destinations. Message filters are unique to a specific thread. You can use a message filter to prevent events from being triggered for a specified object or to perform special operations for an event before it is passed to an event handler.
Note Adding message filters to an application's message pump can cause performance degradation in your application.
See Also removeMessageFilter