December 11, 2000, 12:00 AM — We covered the edit control in a previous column. We'll continue our
look at controls in this one.
The CButton class includes check boxes, push buttons, and radio
buttons. They differ in appearance but all of these possess messages
invoked when the button is pushed or box checked. The messages are
BN_CLICKED and BN_DOUBLE_CLICKED.
In a previous article, we set up a handler for the OK button's
BN_CLICKED message. In this one, we'll create another button and set
up a handler for it. We're going to add a Randomize button to