Solved

Using Buttons In A Regular Window

Posted on 1998-12-25
3
200 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:amp2112
3 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 50 total points
ID: 1326724
You need to use its OnClick() event in order to be able to do anything...
0
 
LVL 4

Expert Comment

by:pagladasu
ID: 1326725
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
 
LVL 1

Expert Comment

by:The_Brain
ID: 1326726
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 62
Whole sheet autoscrub still needed 19 48
wordappend challenge 8 147
Excel file not created as expected 7 49
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now