I have an edit box :) (took me a while to understand) and now in part of my custom calculator project. I need to take the value in the edit box and process it. The thing is. I want to process the string from the edit box and check if it is an int. Now dont say, dont allow the text box from inputting an int. I have already done that. But my SendMessage function allows default text. I want to do the following:

1) Process the text and if it is alphanumeric or such, do not continue.
2) When the user clicks the edit box I want it to remove all the text there is. I have already tried :P So dont say try yourself first.

Please and Thank You
(I may not reply, time for me to sleep over here)

Please move this into the CPP section :| I clicked the C++ category. But it posted here ????

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.