How can I show the time elapsed of timer in the form??&& how to set a button to quit the program when I press the button?

using vs2010.
thank you alot.
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.
Topic archived. No new replies allowed.