Using the Windows API Messaging Solution
Go Up to Using Messages
Components often need to respond to messages from the underlying operating system. The operating system informs the application of occurrences such as what the user does with the mouse and keyboard. Some controls also send messages, including for example the results from user actions such as selecting an item in a list box.
The VCL framework handles most of the common system messages already. It is possible, however, that you will need to write your own code for handling system messages or messages from VCL components.
- Understanding the Message-Handling System
- Changing Message Handling
- Creating New Message Handlers
- Sending Messages
- The WndProc Method
- Handling Input Language Change Message