xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::imessage_filter Class Referenceabstract

Defines a message filter interface. More...

#include <imessage_filter.h>

Public Member Functions

virtual bool pre_filter_message (const message &m) const =0
 Filters out a message before it is dispatched. More...

Detailed Description

Defines a message filter interface.

This interface allows an application to capture a message before it is dispatched to a control or form.
A class that implements the imessage_filter interface can be added to the application's message pump to filter out a message or perform other operations before the message is dispatched to a form or control. To add the message filter to an application's message pump, use the add_message_filter method in the application class.

The documentation for this class was generated from the following file: