How to remove last character in textbox?

Sep 9, 2013 at 12:43pm
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?
Sep 9, 2013 at 2:45pm
Could you define "text box"? Do you mean a message box? A command line? Something else?
Sep 9, 2013 at 3:09pm
i think you can use this on your editbox:
http://msdn.microsoft.com/en-us/library/db50wx7h(v=vs.90).aspx

then manipulate the returned string how you want then call:
http://msdn.microsoft.com/en-us/library/yhczy8bz(v=vs.90).aspx
Sep 9, 2013 at 3:26pm
http://www.dotnetperls.com/textbox I mean that. I want to remove last character by using button like backspace key.
Sep 9, 2013 at 3:48pm
why are you posting on a c++ forum?
Sep 9, 2013 at 4:39pm
Because I'm programing calculator in Microsoft Visual C++. That link is an only example. Do you understand?
Topic archived. No new replies allowed.