Edit control accepting type double/float?

R

Rikkert

I am trying to make an Edit control that accepts only numbers and one
point (i.e. only accepting input of type 'double' or 'float').
Can this be done without using MFC?

The standard options for the Edit control seem to be either accepting
all character input, or only integer number input, which doesn't quite
cut it...

Any tips are appreciated!

Rikkert
 
J

John Harrison

Rikkert said:
I am trying to make an Edit control that accepts only numbers and one
point (i.e. only accepting input of type 'double' or 'float').
Can this be done without using MFC?

The standard options for the Edit control seem to be either accepting
all character input, or only integer number input, which doesn't quite
cut it...

Standard C++ only in this group. Try
you are off topic here (both
times).

john
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top