OWLNext 7.0
Borland's Object Windows Library for the modern age
|
When the user clicks a button, the button's parent window receives a notification message.
If the parent window object intercepts the message, it can respond to these events by displaying a dialog box, saving a file, and so on.
To intercept and respond to button messages, define a command response member function for the button. The following example uses ID ID_BUTTON to handle the response to the user clicking the button: