The question is too broad. For example, I could say: Use SendMessage() + WM_SETTEXT on a suitable control. Or Use SetDlgItemText() if it is a dialog.
As for the button, I could say: Draw the button into the form and process the generated WM_COMMAND message. Or I could say use CreateWindow() with the "BUTTON" class.