Using Buttons In A Regular Window

How do I use button controls, CButton, in a regular window?
I can get the buttons to appear, but when I click the button
nothing happens, it doesnt animate the click, or send a
button clicked message.
amp2112Asked:
Who is Participating?
 
viktornetConnect With a Mentor Commented:
You need to use its OnClick() event in order to be able to do anything...
0
 
pagladasuCommented:
Create your view as being derived from CFormView.
Use the resource editor to create the buttons and other controls.
Use the classwizard to map the BN_CLICKED event of the buttons to different functions.
Write code for these functions.

0
 
The_BrainCommented:
look at www.codeguru.com   this is a very good site, and there is a topic for just buttons, it is REALLY cool.  
The_Brain
0
All Courses

From novice to tech pro — start learning today.