| View previous topic :: View next topic |
| Author |
Message |
Rikkert Guest
|
Posted: Mon Jun 28, 2004 9:03 am Post subject: Edit control accepting type double/float? |
|
|
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
|
|
| Back to top |
|
 |
John Harrison Guest
|
Posted: Mon Jun 28, 2004 12:26 pm Post subject: Re: Edit control accepting type double/float? |
|
|
"Rikkert" <r_zoun (AT) hotmail (DOT) com> wrote
| Quote: | 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
news:comp.os.ms-windows.programmer.win32 you are off topic here (both
times).
john
|
|
| Back to top |
|
 |
Rikkert Guest
|
Posted: Mon Jun 28, 2004 9:22 pm Post subject: Re: Edit control accepting type double/float? |
|
|
sorry about that...
|
|
| Back to top |
|
 |
|