How to remove last character in textbox?

I am programing a calculator. I have created backspace button to remove last character in textbox but I don't know how to do that. Could you help me?
Could you define "text box"? Do you mean a message box? A command line? Something else?
i think you can use this on your editbox:

then manipulate the returned string how you want then call: I mean that. I want to remove last character by using button like backspace key.
why are you posting on a c++ forum?
Because I'm programing calculator in Microsoft Visual C++. That link is an only example. Do you understand?
Topic archived. No new replies allowed.