Click here to Skip to main content
15,886,060 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i am new to MFC programming,I have a CpropertySheet in which i have added 2 Property Pages.Normally in Cproperty sheet it has default buttons "HELP BACK NEXT " I have hidden help button and created another button dynamically and named it has "Finish" .. now i have to add a button click event to it.Do anybody know how to do that?plz help me!
Posted

I asked you if you can't just use the handler of help button and rename it to Finish?! Did you read through the article I pointed you at? Things like that are done in that article!

PS: Please do not use SMS lingo here.
 
Share this answer
 
Do you really need to create controls dynamically?!

Why can't you simply rename the help button to "Finish" and do away with the handler of that button?

Also, take a look at this article: Hacking the CPropertySheet[^]
 
Share this answer
 
v2
Thanks Rajesh. What I am working in CPropertySheet, youu can't just add buttons directly (Like what you do in dialog box)..it should be created dynamically.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900