I just created a new dialog-based MFC App in VS 2008 where MFC is used in a shared DLL. I called the project "Example".
I've used dialog editor to add a "button1" onto the Example dialog. Now, I would like to make the button do SOMETHING.
Say, if I CLICK on "button1" I would like the program to add 1+1, and present the result ("2") in a popup message window. How do I do this?