Using Buttons

This section gives implementation details and example code for button controls. The following topics are discussed.

In this section

Topic Description
How to Create a Button
To create buttons dynamically, you use the CreateWindow or CreateWindowEx function. This topic demonstrates how to use the CreateWindow function to create a default push button.
How to Create a Command Link
This topic describes one way to create a command link.
How to Handle the BCN_DROPDOWN Notification from a Split Button
This topic describes one possible way of responding to the BCN_DROPDOWN notification in a dialog procedure.