Programming |  Windows Programming |  Button Default Message Processing

Button Default Message Processing

The window procedure for the predefined button control window class carries out default processing for all messages that the button control procedure does not process. When the button control procedure returns FALSE for any message, the predefined window procedure checks the messages and performs the default actions listed in the following table.

Message Default action

The predefined window procedure passes all other messages to the DefWindowProc function for default processing.