Not into C++ myself, but you should probably start at
Visual C++ Walkthroughs where there are walkthroughs to help you get going.
Usually, to make a button do something when clicked, you just double-click it in your GUI editor and then add in the function call.