Clicking Buttons and Checking Boxes

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


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


Top 10 Hot Internet of Things Startups
You Might Like
Join the discussion
Be the first to comment on this article. Our Commenting Policies