Creating New Message Handlers
Go Up to Using the Windows API Messaging Solution
Because the VCL provides handlers for most common messages, the time you will most likely need to create new message handlers is when you define your own messages. Working with user-defined messages has three aspects: